Search Apps Documentation Source Content File Folder Download Copy Actions Download

personal_world package

Functions

AddGrantable

func AddGrantable(cur realm, granterRole, grantableRole string)
Execute

AddGrantable allows granterRole to grant grantableRole to users

Params

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" ADDRESSgnokey 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)
Execute

AddPermissionToRole adds a permission to an existing role

Params

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" ADDRESSgnokey 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)
Execute

CreatePermission creates a new permission definition

Params

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" ADDRESSgnokey 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)
Execute

CreateRole creates a new role with permissions permissions is a comma-separated string of permission names maxAssign: 0 = unlimited assignments

Params

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" ADDRESSgnokey 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
Execute

Params

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" ADDRESSgnokey 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)
Execute

DeletePermission deletes a permission and removes it from all roles

Param

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" ADDRESSgnokey 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)
Execute

DeleteRole deletes a role and removes all its assignments

Param

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" ADDRESSgnokey 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)
Execute

Param

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" ADDRESSgnokey 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)
Execute

Param

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" ADDRESSgnokey 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
Execute

GetActualCreationCost returns the actual cost to create a world for a specific owner The first world of default biome is free

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetActualCreationCost(,)"

Result

GetBatchLimit

func GetBatchLimit() int
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()"

Result

GetBiomeInfo

func GetBiomeInfo(biomeName string) map[string]string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetBiomeInfo()"

Result

GetChunkVerifier

func GetChunkVerifier(worldID uint32, chunkKey string) string
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetChunkVerifier(,)"

Result

GetDefaultBiome

func GetDefaultBiome() string
Execute

GetDefaultBiome returns the current default biome name

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetDefaultBiome()"

Result

GetFeeCollectorBPS

func GetFeeCollectorBPS() int
Execute

GetFeeCollectorBPS returns the feeCollector BPS

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetFeeCollectorBPS()"

Result

GetListLimit

func GetListLimit() int
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()"

Result

GetPermissions

func GetPermissions() map[string]string
Execute

GetPermissions returns all available permissions

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetPermissions()"

Result

GetRoleInfo

func GetRoleInfo(roleName string) map[string]string
Execute

GetRoleInfo returns detailed information about a role

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetRoleInfo()"

Result

GetTotalWorldSize

func GetTotalWorldSize() int
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetTotalWorldSize()"

Result

GetWorld

func GetWorld(worldID uint32) map[string]string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetWorld()"

Result

GetWorldBySlug

func GetWorldBySlug(slug string) map[string]string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetWorldBySlug()"

Result

GetWorldExpansionCost

func GetWorldExpansionCost(worldID uint32) int64
Execute

GetWorldExpansionCost returns the cost to expand a world to the next size

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetWorldExpansionCost()"

Result

GetWorldSizeByOwner

func GetWorldSizeByOwner(owner address) int
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.GetWorldSizeByOwner()"

Result

GrantRole

func GrantRole(cur realm, worldID uint32, roleName string, user address)
Execute

GrantRole assigns a role to a user for a specific world Owner, admin, or users with grantable permission can grant roles

Params

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" ADDRESSgnokey 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
Execute

HasInstallPermission checks if caller has permission to install blocks in the world

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.HasInstallPermission(,)"

Result

HasPermission

func HasPermission(worldID uint32, user address, permission string) bool
Execute

HasPermission checks if a user has a specific permission for a world Owner always has all permissions

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.HasPermission(,,)"

Result

HasRole

func HasRole(worldID uint32, user address, role string) bool
Execute

HasRole checks if a user has a specific role for a world

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.HasRole(,,)"

Result

HasUninstallPermission

func HasUninstallPermission(worldID uint32, caller address) bool
Execute

HasUninstallPermission checks if caller has permission to uninstall blocks from the world

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.HasUninstallPermission(,)"

Result

IsNameAvailable

func IsNameAvailable(name string) bool
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.IsNameAvailable()"

Result

IsSlugAvailable

func IsSlugAvailable(slug string) bool
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.IsSlugAvailable()"

Result

ListBiomeInfos

func ListBiomeInfos() []map[string]string
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListBiomeInfos()"

Result

ListChunkVerifiers

func ListChunkVerifiers(worldID uint32, chunkKeys ...string) []map[string]string
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListChunkVerifiers(,)"

Result

ListGrantables

func ListGrantables(granterRole string) []string
Execute

ListGrantables returns roles that granterRole can grant

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListGrantables()"

Result

ListRandomWorlds

func ListRandomWorlds(count int) []map[string]string
Execute

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListRandomWorlds()"

Result

ListRoles

func ListRoles() []string
Execute

ListRoles returns all available role names

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListRoles()"

Result

ListSizeInfos

func ListSizeInfos() []map[string]string
Execute

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListSizeInfos()"

Result

ListUserRoles

func ListUserRoles(worldID uint32, user address) []map[string]string
Execute

ListUserRoles returns all roles assigned to a user for a specific world

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListUserRoles(,)"

Result

ListWorlds

func ListWorlds(page, count int) []map[string]string
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListWorlds(,)"

Result

ListWorldsByOwner

func ListWorldsByOwner(owner address, page, count int) []map[string]string
Execute

Params

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.ListWorldsByOwner(,,)"

Result

RemoveGrantable

func RemoveGrantable(cur realm, granterRole, grantableRole string)
Execute

RemoveGrantable removes the ability for granterRole to grant grantableRole

Params

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" ADDRESSgnokey 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)
Execute

RemovePermissionFromRole removes a permission from a role

Params

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" ADDRESSgnokey 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
Execute

Render handles RESTful routing and returns Markdown responses

Param

Command

gnokey query vm/qeval -remote "gnoland:26657" -data "gno.land/r/akkadia/personal_world.Render()"

Result

RevokeRole

func RevokeRole(cur realm, worldID uint32, roleName string, user address)
Execute

RevokeRole removes a role from a user for a specific world Owner, admin, or users with grantable permission can revoke roles

Params

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" ADDRESSgnokey 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)
Execute

SetBatchLimit sets the max keys per batch query (admin only)

Param

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" ADDRESSgnokey 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)
Execute

SetBiomeInfo sets a single biome info (admin only)

Params

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" ADDRESSgnokey 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)
Execute

Params

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" ADDRESSgnokey 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)
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"

Params

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" ADDRESSgnokey 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)
Execute

SetDefaultBiome sets the default biome (admin only)

Param

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" ADDRESSgnokey 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)
Execute

SetFeeCollectorBPS sets the feeCollector basis points (admin only)

Param

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" ADDRESSgnokey 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)
Execute

SetListLimit sets the max items per list query (admin only)

Param

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" ADDRESSgnokey 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)
Execute

SetSizeInfo sets a single size info (admin only)

Params

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" ADDRESSgnokey 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)
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

Params

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" ADDRESSgnokey 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)
Execute

UpdateRoleProperty updates a single property of a role

Params

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" ADDRESSgnokey 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)
Execute

Params

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" ADDRESSgnokey 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