Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Admin commands?


Cruc1al

Recommended Posts

Found this on another hosting companies website:

 

 

How to add an admin example Permissions.cfg

Below is an example of how your config file should look.  If you are missing any character, the server will not work or will attempt to autocorrect and possibly not display properly on the server list.

guest { # Unregistered users will use these permissions.
nameFormat = '%name%'
chatFormat = '%name% : %message%'
guildFormat = '[00CC00][%guild%] %chatFormat%[-]'
}
groups {
default {
default = 'True'
permissions {
- 'rok.chat.me'
- 'rok.chat.guild'
- 'rok.health.suicide'
- 'rok.help.list'
}
}
admin {
permissions {
- '*'
}
}
}
users {
PlayerName {
groups {
- 'admin'
}
}

For player names with spaces in them, you would instead use ‘Player Name’ .

If your server does not show up on the server list after editing this file and adding your admins, please make sure that you have included the correct amount of ending } characters for each { .

It is very important that you observe the structure of this section:

PlayerName {
groups {
– ‘admin’
}
}

A new admin can be added by inserting these lines in between the opening and closing braces of users like below:

One admin entry.

users {

EricTheRed {
groups {
– ‘admin’
}
}

}

Adding an additional admin is as easy as adding in a new block.

Multiple admin entries.

users {

EricTheRed {
groups {
– ‘admin’
}
}

ErinTheGreen {
groups {
– ‘admin’
}
}

}

 

 

List of Reign of Kings admin commands

  • /ban [userName] (days|reason) – Bans the desired player from the server. You can set the number of days and/or reason
  • /banlist (userName) – Lists the users that have been banned. Optionally via username
  • /bettergui – Switches the in-game gui to its alternative
  • /build [sphere|cube] (radius) (material) – Creates a shape out of blocks
  • /butcher (radius) (“silent”) – Kills all monsters and critter in a radius
  • /clearinv (userName) – Clears your inventory or (username)
  • /config – Modify the server configuration
  • /fly (userName) – Toggles fly mode for yourself or (username)
  • /give [item] [amount] (userName) – Gives a specified [amount] of an [item] optionally to (username)
  • /giveall – Gives max of every item available
  • /godmode (username) – Enables godmode for yourself or (username)
  • /heal (username) – Heals yourself or (username)
  • /hydrate (username) – Hydrates yourself or (username)
  • /instantbuild – Toggles instant building for the local player
  • /itemlist – Lists out the names of all of the items. For use with /give
  • /kick [username] – Kicks the specified player from the server
  • /killall (radius) (“silent”) – Kills all entities in a radius from you. Chests are not destroyed
  • /list – Displays a list of online players
  • /nosecurity – Toggles security on or off
  • /notice [message] – Shows a message from the server
  • /nourish (username) – Nourishes yourself or (username)
  • /permissions – Doesn’t Appear to Work  Note: This command works, but you must instead use /permission Refer to /help permissions
  • /popup [message] – Shows a popup message to all players
  • /question [message] – Shows a popup to all players with a yes or no question
  • /say [username] [message] – Forces [username] to say a [message]
  • /shutdown – Saves and stops the server
  • /stophunger [username] – Stops hunger on yourself or [username]
  • /stopthirst [username] – Stops thirst on yourself or [username]
  • /time – Controls the worlds time. Use a /help time for full list
  • /tp [x] [z] – Teleports user to desired location. Defaults to 0,0
  • /unban [username|index] – Unbans the desired player on the server
  • /videofly – Toggles flying camera mode
  • /weather – Changes the weather for the world Use a /help weather for full list

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...