Server Commands - RTR7DTD/Moldybread-Palace GitHub Wiki
If the Google translate API is installed, the bot will automatically translate the players chat to english.
Stop translating the players chat.
Sometimes you need to make the bot run a specific console command. This can be used to force the bot re-parse a list.
The bot saves its Lua tables daily at midnight (server time) and each time the server is shut down. If the bot gets messed up, you can try to fix it with this command. Other timestamped backups are made before the bot is reset but you will first need to strip the date part off them to restore with this command.
Use this command if you want players to know your IRC server's address.
Change the bot's IRC channels. Note that the bot can only reside in the main channel which is currently hard-coded in Mudlet. If the bot is not in the channel you set here, you will have to /msg the bot or issue all commands in private chat with the bot.
Schedule a timed or immediate server reboot. The actual restart must be handled externally by something else. Just before the reboot happens, the bot issues a save command. If you add forced, only a level 0 admin can stop it. Shutting down the bot will also cancel a reboot but any automatic (timed) reboots will reschedule if the server wasn't also restarted.
Depreciated. Use !location prison size
Set the maximum distance from 0,0 that players are allowed to travel. Any players already outside this limit will be teleported to 0,0 and may get stuck under the map. They can relog. Size is in metres (blocks) and be careful not to set it too small. The default map size is 10000 but the bot's default is 20000.
Whatever size you set, donors will be able to travel 5km futher out so the true boundary is +5000. !set base cooldown (default is 2400 or 40 minutes) The !base or !home command can have a time delay between uses. Donors wait half as long. If you set it to 0 there is no wait time.
Display the current message of the day. If an admin types anything after !motd the typed text becomes the new MOTD.
To remove it type !motd clear
Set the server rules. You can use supported bbcode tags, but only when setting the rules from IRC. All tags must be closed with [-].
To display the rules type !rules
!cancel reboot
Cancel a scheduled reboot.
You may not be able to stop a forced or automatically scheduled reboot but you can pause it instead.
Pause a scheduled reboot. It will stay paused until you unpause it or restart the bot.
Resume a reboot.
By default the bot does not manage server reboots. See also !set max uptime (default 12 hours)
The default name is Bot. Help give your bot a personality by giving it a name.
Set the colour of server messages. Player chat will be the default colour.
Set the colour of server warning messages.
Set the colour of server alert messages.
Tell the bot the URL of your website or steam group so your players can ask for it.
The bot is unable to read the IP from its own profile for the server so enter it here. It will display in the !info command and be used if a few other places.
To kick high ping players set a max ping. It will only be applied to new players. You can also whitelist a new player to make them exempt. The bot doesn't immediately kick for high ping, it samples ping over 30 seconds and will only kick for a sustained high ping.
You can set a custom welcome message that will override the default greeting message when a player joins.
Set the entire server to be PVE, PVP, Creative or Contest. Contest mode is not implemented yet and all setting it creative does is stop the bot pestering players about their inventory.
Auto-kick players with numeric names or names that contain no letters such as ascii art crap. They will see a kick message asking them to change their name.
Allow numeric names or names that contain no letters such as ascii art.
Change the server's max spawned zombies.
Change the server's max players. Admins can always join using the automated reserved slots feature.
Change the server's max spawned animals.
Set how long (in hours) that the server can be running before the bot schedules a reboot. The bot will always add 15 minutes as the reboot is only scheduled at that time.
By default a new player is treated differently from regulars and has some restrictions placed on them mainly concerning inventory. Set it to 0 to disable this feature.
This is used by the bots database which could be a cloud database. It is used to identify this bot as belonging to a group if you have more than one server. You do not need to set this.
By default the bot reads overstack warnings coming from the server to learn what the stack limits are and it will pester players with excessive stack sizes and can send them to timeout for non-compliance. Use this command to disable this feature
The bot will warn players that are overstacking and will eventually send them to timeout if they continue overstacking.
Set what happens to blacklisted players. The default is to ban them 10 years but if you create a location called exile, the bot can bannish them to there instead. It acts like a prison.
If bot commands are hidden from chat, you can have the bot announce whenever a player teleports to a location (except !home).
The bot can fix your server map's permissions with some nice settings. If you use this command, the following permissions are set: web.map 2000 webapi.getlandclaims 1000 webapi.viewallplayers 2 webapi.viewallclaims 2 webapi.getplayerinventory 2 webapi.getplayerslocation 2 webapi.getplayersOnline 2000 webapi.getstats 2000
Make northeast of 0,0 PVE or PVP.
Make northwest of 0,0 PVE or PVP.
Make southeast of 0,0 PVE or PVP.
Make southwest of 0,0 PVE or PVP.
Make north of 0,0 PVE or PVP.
Make south of 0,0 PVE or PVP.
Make east of 0,0 PVE or PVP.
Make west of 0,0 PVE or PVP.
This disables the bot's hacker teleport detection. You would want to do this if you allow creative mode or at least allow players to fly.
This enables the bot's hacker teleport detection.
All players have an access level which governs what they can do. You can override it for everyone to temporarily raise their access. eg. !overide access 10 would make all players donors until you restore it. To do that type !override access 99. This is faster than giving individual players donor access if you just want to do a free donor weekend.
Base protection can be turned off server wide. It does not make sense to use base protection on a PVP server. Also it is not available anywhere that is set as a PVP zone on any server.
Base protection is available by default but a player needs to set theirs up to use it.
By default players can type !pack when they respawn after a death to return to close to their pack. You can set a delay and/or a cost before the command is available after a death.
By default players can type !pack when they respawn after a death to return to close to their pack. You can set a delay and/or a cost before the command is available after a death.
By default players can type !base to return to their base. You can set a delay and/or a cost before the command is available.
Enable rTrBucks and the bank. Zombie kills will earn rTrBucks and the shop and gambling will be available if also enabled.
You can disable rTrBucks and the bank. Zombie kills won't earn anything and the shop and gambling won't be available.
Sets the maximum stack size before the bot will warn a player about overstacking. Usually the bot learns this directly from the server as stack sizes are exceeded.
Enable a PM for admins that tells them the region name when they move to a new region.
Disable a PM for admins that tells them the region name when they move to a new region.
Enable the daily lottery if it is currently disabled.
You can disable the lottery while keeping the shop and rTrBucks in the game.
Every zombie killed adds 1 x the lottery multiplier to the lottery total. The higher the number, the faster the lottery rises. The default is 2.
Set how many rTrBucks a player earns for each zombie killed.
Remove everyone from the bot's whitelist.
You can add everyone except blacklisted players to the bot's whitelist.
Set this if you do not want your players using teleport commands. Admins can still teleport.
Set this if you want your players using teleport commands. This is the default.
Allow players to use bot commands. This is the default.
Don't let players use any bot commands. Does not affect admins.
Attempt to automatically fix the shop. It reloads the shop categories, checks for any missing categories in shop items and assigns them to misc then reindexes the shop. This fix is experimental and might not actually fix whatever is wrong with your shop.
New players who want to cheat often relog rapidly in order to spawn lots of items into the server using cheats or bugs. This command makes the bot ignore these and do nothing to stop them.
New players who want to cheat often relog rapidly in order to spawn lots of items into the server using cheats or bugs. This command makes the bot temp ban new players found to be relogging many times less than a minute apart.
When the server is full, if idle kick is on players will get kick warnings for 15 minutes of no movement then they get kicked.
If IRC is private, the bot won't share the url or info with players and players can't invite anyone to irc using the invite command. When public, players can find the IRC info with !help irc and they can create irc invites for themselves and others.
The default money name is the Zenny and the plural is Zennies. Both names must be one word each.
eg !set money name Chip Chips
.
The default base protection size is 32 blocks (64 diameter). This default only applies to new players joining the server for the first time. Existing base sizes are not changed with this command.
You can have a number of server slots reserved for admins and selected players. Anyone can join but if the server becomes full, players who aren't staff or allowed to reserve a slot will be randomly selected and kicked if an admin or authorized player joins. To disable, set reserved slots to 0.
Set how many rTrBucks it costs to bail out of prison. To disable bail set it to zero (the default)
Set how long someone stays in prison for when jailed automatically. To not have a time limit, set this to 0 which is the default.
After being teleported somewhere, players can type /return to be sent back to where they came from. This is enabled by default but you can disable them. Admins are not affected by this setting.
Using Coppi's mod version 2.5+ you can detect players that are noclipping under the map. It can false flag but it is still a useful early warning of a possible hacker. Currently this feature only alerts to IRC. It does not punish.
The bot can automatically scan for and fix some errors using console commands. The scan happens automatically every 2 minutes. You can disable them if you suspect they are creating lag.
Scan for entities server wide every 30 seconds. The resulting list is copied to the entities Lua table where it can be further processed for other bot features.
Reboot the server when the server time matches the hour (24 hour time) To disable clock based reboots set this to -1 or don't enter a number.
Reboot the server when the server time matches the hour and minute (24 hour time) To disable clock based reboots use !set reboot hour (without a number)
Reboot the server when the server time matches the hour and minute (24 hour time) To disable clock based reboots use !set reboot hour (without a number)
Tell the bot to forget everything it knows about the server. You will be asked to confirm this, answer with yes. Say anything else to abort.
Usually you only need to use !reset bot
. This reset goes further.
Tell the bot to forget only some things, some player info, locations, bases etc. You will be asked to confirm this, answer with yes. Say anything else to abort. Use this command after wiping the server. The bot will detect the day change and will ask if you want to reset the bot too.
If the bot detects that the server days have rolled back, it will ask you if you want to reset the bot. Type !no reset if you don't want the bot to reset itself.