AddGrantable
func AddGrantable(cur realm, granterRole, grantableRole string)
Link
Execute
AddGrantable allows granterRole to grant grantableRole to users
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "AddGrantable" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "AddGrantable" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
AddPermissionToRole
func AddPermissionToRole(cur realm, roleName string, permissionName string)
Link
Execute
AddPermissionToRole adds a permission to an existing role
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "AddPermissionToRole" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "AddPermissionToRole" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
CreatePermission
func CreatePermission(cur realm, name string, description string)
Link
Execute
CreatePermission creates a new permission definition
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreatePermission" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreatePermission" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
CreateRole
func CreateRole(cur realm, roleName string, maxAssign int, permissions string)
Link
Execute
CreateRole creates a new role with permissions permissions is a comma-separated string of permission names maxAssign: 0 = unlimited assignments
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreateRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreateRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
CreateWorld
func CreateWorld(cur realm, biomeName string, name string, slug string, seed int, isVisible bool, options string) uint32
Link
Execute
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreateWorld" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "CreateWorld" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
DeletePermission
func DeletePermission(cur realm, name string)
Link
Execute
DeletePermission deletes a permission and removes it from all roles
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeletePermission" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeletePermission" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
DeleteRole
func DeleteRole(cur realm, roleName string)
Link
Execute
DeleteRole deletes a role and removes all its assignments
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeleteRole" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeleteRole" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
DeleteWorld
func DeleteWorld(cur realm, worldID uint32)
Link
Execute
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeleteWorld" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "DeleteWorld" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
ExpandWorld
func ExpandWorld(cur realm, worldID uint32)
Link
Execute
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "ExpandWorld" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "ExpandWorld" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
GetActualCreationCost
func GetActualCreationCost(owner address, biome string) int64
Link
Execute
GetActualCreationCost returns the actual cost to create a world for a specific owner The first world of default biome is free
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetActualCreationCost( , )"
GetBatchLimit
func GetBatchLimit() int
Link
Execute
GetBatchLimit returns the max keys per batch query
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetBatchLimit()"
GetBiomeInfo
func GetBiomeInfo(biomeName string) map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetBiomeInfo( )"
GetChunkVerifier
func GetChunkVerifier(worldID uint32, chunkKey string) string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetChunkVerifier( , )"
GetDefaultBiome
func GetDefaultBiome() string
Link
Execute
GetDefaultBiome returns the current default biome name
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetDefaultBiome()"
GetFeeCollectorBPS
func GetFeeCollectorBPS() int
Link
Execute
GetFeeCollectorBPS returns the feeCollector BPS
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetFeeCollectorBPS()"
GetListLimit
func GetListLimit() int
Link
Execute
GetListLimit returns the max items per list query
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetListLimit()"
GetPermissions
func GetPermissions() map[string]string
Link
Execute
GetPermissions returns all available permissions
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetPermissions()"
GetRoleInfo
func GetRoleInfo(roleName string) map[string]string
Link
Execute
GetRoleInfo returns detailed information about a role
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetRoleInfo( )"
GetTotalWorldSize
func GetTotalWorldSize() int
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetTotalWorldSize()"
GetWorld
func GetWorld(worldID uint32) map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetWorld( )"
GetWorldBySlug
func GetWorldBySlug(slug string) map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetWorldBySlug( )"
GetWorldExpansionCost
func GetWorldExpansionCost(worldID uint32) int64
Link
Execute
GetWorldExpansionCost returns the cost to expand a world to the next size
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetWorldExpansionCost( )"
GetWorldSizeByOwner
func GetWorldSizeByOwner(owner address) int
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.GetWorldSizeByOwner( )"
GrantRole
func GrantRole(cur realm, worldID uint32, roleName string, user address)
Link
Execute
GrantRole assigns a role to a user for a specific world Owner, admin, or users with grantable permission can grant roles
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "GrantRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "GrantRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
HasInstallPermission
func HasInstallPermission(worldID uint32, caller address) bool
Link
Execute
HasInstallPermission checks if caller has permission to install blocks in the world
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.HasInstallPermission( , )"
HasPermission
func HasPermission(worldID uint32, user address, permission string) bool
Link
Execute
HasPermission checks if a user has a specific permission for a world Owner always has all permissions
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.HasPermission( , , )"
HasRole
func HasRole(worldID uint32, user address, role string) bool
Link
Execute
HasRole checks if a user has a specific role for a world
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.HasRole( , , )"
HasUninstallPermission
func HasUninstallPermission(worldID uint32, caller address) bool
Link
Execute
HasUninstallPermission checks if caller has permission to uninstall blocks from the world
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.HasUninstallPermission( , )"
IsNameAvailable
func IsNameAvailable(name string) bool
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.IsNameAvailable( )"
IsSlugAvailable
func IsSlugAvailable(slug string) bool
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.IsSlugAvailable( )"
ListBiomeInfos
func ListBiomeInfos() []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListBiomeInfos()"
ListChunkVerifiers
func ListChunkVerifiers(worldID uint32, chunkKeys ...string) []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListChunkVerifiers( , )"
ListGrantables
func ListGrantables(granterRole string) []string
Link
Execute
ListGrantables returns roles that granterRole can grant
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListGrantables( )"
ListRandomWorlds
func ListRandomWorlds(count int) []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListRandomWorlds( )"
ListRoles
func ListRoles() []string
Link
Execute
ListRoles returns all available role names
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListRoles()"
ListSizeInfos
func ListSizeInfos() []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListSizeInfos()"
ListUserRoles
func ListUserRoles(worldID uint32, user address) []map[string]string
Link
Execute
ListUserRoles returns all roles assigned to a user for a specific world
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListUserRoles( , )"
ListWorlds
func ListWorlds(page, count int) []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListWorlds( , )"
ListWorldsByOwner
func ListWorldsByOwner(owner address, page, count int) []map[string]string
Link
Execute
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.ListWorldsByOwner( , , )"
RemoveGrantable
func RemoveGrantable(cur realm, granterRole, grantableRole string)
Link
Execute
RemoveGrantable removes the ability for granterRole to grant grantableRole
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RemoveGrantable" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RemoveGrantable" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
RemovePermissionFromRole
func RemovePermissionFromRole(cur realm, roleName string, permissionName string)
Link
Execute
RemovePermissionFromRole removes a permission from a role
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RemovePermissionFromRole" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RemovePermissionFromRole" -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
Render
func Render(iUrl string) string
Link
Execute
Render handles RESTful routing and returns Markdown responses
Command
gnokey query vm/qeval -remote "gnoland:26657 " -data "gno.land/r/akkadia/personal_world.Render( )"
RevokeRole
func RevokeRole(cur realm, worldID uint32, roleName string, user address)
Link
Execute
RevokeRole removes a role from a user for a specific world Owner, admin, or users with grantable permission can revoke roles
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RevokeRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "RevokeRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetBatchLimit
func SetBatchLimit(cur realm, limit int)
Link
Execute
SetBatchLimit sets the max keys per batch query (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetBatchLimit" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetBatchLimit" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetBiomeInfo
func SetBiomeInfo(cur realm, biomeName string, cost int64, priceMultiplier float64,
name, description, theme, option string)
Link
Execute
SetBiomeInfo sets a single biome info (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetBiomeInfo" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetBiomeInfo" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetChunkVerifier
func SetChunkVerifier(cur realm, worldID uint32, chunkKey string, verifier string)
Link
Execute
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetChunkVerifier" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetChunkVerifier" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetChunkVerifiers
func SetChunkVerifiers(cur realm, worldID uint32, chunkKeys string, verifiers string)
Link
Execute
SetChunkVerifiers sets multiple chunk verifiers at once using direct string traversal. chunkKeys and verifiers are comma-separated strings with matching item counts. Example: chunkKeys="0\_0,0\_1,1\_0", verifiers="hash1,hash2,hash3"
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetChunkVerifiers" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetChunkVerifiers" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetDefaultBiome
func SetDefaultBiome(cur realm, biomeName string)
Link
Execute
SetDefaultBiome sets the default biome (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetDefaultBiome" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetDefaultBiome" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetFeeCollectorBPS
func SetFeeCollectorBPS(cur realm, bps int)
Link
Execute
SetFeeCollectorBPS sets the feeCollector basis points (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetFeeCollectorBPS" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetFeeCollectorBPS" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetListLimit
func SetListLimit(cur realm, limit int)
Link
Execute
SetListLimit sets the max items per list query (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetListLimit" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetListLimit" -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
SetSizeInfo
func SetSizeInfo(cur realm, sizeID int, size int, cost int64, option string)
Link
Execute
SetSizeInfo sets a single size info (admin only)
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetSizeInfo" -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "SetSizeInfo" -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
UpdateRole
func UpdateRole(cur realm, roleName string, maxAssign int, permissions string)
Link
Execute
UpdateRole updates a role's maxAssign and permissions permissions is a comma-separated string of permission names (replaces all existing permissions) maxAssign: 0 = unlimited assignments
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateRole" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
UpdateRoleProperty
func UpdateRoleProperty(cur realm, roleName string, key string, value string)
Link
Execute
UpdateRoleProperty updates a single property of a role
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateRoleProperty" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateRoleProperty" -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx
UpdateWorld
func UpdateWorld(cur realm, worldID uint32, name string, slug string, isVisible bool, options string)
Link
Execute
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateWorld" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESS gnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/personal_world" -func "UpdateWorld" -args $' ' -args $' ' -args $' ' -args $' ' -args $' ' -gas-fee 1000000ugnot -gas-wanted 5000000 -send " " ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx