Skip to content
/SLASHPLAY

Necesse console commands

All 46 settings and 60 commands from the game's own list, with defaults and examples to copy.

106 commands

  1. permissions

    Sets or shows a player's permission level: User, Creative Settings, Moderator, Admin or Owner. Only the owner can use it.

    Command

    Admin and moderation

  2. -owner

    Anyone who connects with this name gets owner permissions.

    Default Not listed

    Launch options

  3. kick

    Kicks a player from the server, with an optional message. They can join again unless you ban them.

    Command

    Admin and moderation

  4. ban

    Bans a player by name or authentication, so they can't join again. Works for players who are offline.

    Command

    Admin and moderation

  5. give

    Gives an item to a player, with an optional amount.

    Command

    Players and items

  6. tp

    Teleports a player to another player, or to their home, their last death, the spawn or a level.

    Command

    Players and items

  7. time

    Sets or moves the world time. Takes names such as dawn, morning, noon, dusk, night and midnight.

    Command

    World and events

  8. difficulty

    Sets the world's difficulty: casual, adventure, classic, hard or brutal. Classic is the default.

    Default classic (Normal)

    World settings

  9. deathpenalty

    Sets what players lose when they die: nothing, materials, the main inventory, everything, or the character for good (hardcore). The default is drop_mats.

    Default drop_mats (Drop all non equipment, combat and special items)

    World settings

  10. raids

    Sets how often settlements are raided: often, occasionally, rarely or never. The default is occasionally.

    Default occasionally

    World settings

  11. ForcedPvP

    Forces PvP on for every player when true. Off by default, so players choose for themselves.

    Default false

    World settings

  12. save

    Saves the world and all player data now.

    Command

    Admin and moderation

  13. motd

    Sets, shows or clears the message of the day players see when they join. Use \n for a new line.

    Command

    Admin and moderation

  14. maxSettlementsPerPlayer

    The most settlements each player can have. -1 or less, the default, means no limit.

    Default -1

    server.cfg

  15. bans

    Lists every ban on the server.

    Command

    Admin and moderation

  16. changename

    Changes a player's name.

    Command

    Admin and moderation

  17. deleteplayer

    Deletes a player's files from the world's saved players folder.

    Command

    Admin and moderation

  18. levels

    Lists the levels loaded right now, with their mob, item and player counts.

    Command

    Admin and moderation

  19. maxlatency

    Sets how many seconds of latency a player can have before the server drops them.

    Command

    Admin and moderation

  20. mypermissions

    Shows your own permission level on the server.

    Command

    Admin and moderation

  21. network

    Shows how much data the server has sent and received this session.

    Command

    Admin and moderation

  22. password

    Sets the server's join password at once, or removes it when you leave it blank.

    Command

    Admin and moderation

  23. pausewhenempty

    Turns pausing the world while nobody is online on (1) or off (0) at once.

    Command

    Admin and moderation

  24. playernames

    Lists every player the world has stored, with their authentication and name.

    Command

    Admin and moderation

  25. players

    Lists the players online and how many slots are used.

    Command

    Admin and moderation

  26. print

    Prints a message in chat with no player or Server name in front.

    Command

    Admin and moderation

  27. say

    Writes a message in chat as Server.

    Command

    Admin and moderation

  28. settlements

    Lists the settlements in the world, with their owner, team and whether they're loaded.

    Command

    Admin and moderation

  29. stop

    Saves the world and stops the server. /exit and /quit do the same.

    Command

    Admin and moderation

  30. unban

    Lifts a ban, so the player can join again.

    Command

    Admin and moderation

  31. worldseed

    Prints the world's seed.

    Command

    Admin and moderation

  32. allowcheats

    Allows cheats on the world, for good. It can't be undone and achievements are disabled.

    Command

    World settings

  33. AllowOutsideCharacters

    Lets players join with characters they've played on other worlds. On by default.

    Default true

    World settings

  34. CanSettlersDie

    Lets settlers die for good when true. Off by default.

    Default false

    World settings

  35. creativemode

    Turns the world into a creative world, for good. It can't be undone and disables achievements.

    Command

    World settings

  36. dayTimeMod

    Makes day last longer or shorter. 1.0 is normal; higher is longer, up to 10.

    Default 1

    World settings

  37. DisableMobAI

    Freezes mob AI when true. Off by default. Needs cheats allowed or creative mode.

    Default false

    World settings

  38. DisableMobSpawns

    Stops mobs from spawning when true. Off by default. Needs cheats allowed on the world.

    Default false

    World settings

  39. nightTimeMod

    Makes night last longer or shorter. 1.0 is normal; higher is longer, up to 10.

    Default 1

    World settings

  40. PlayerHunger

    Turns player hunger on or off. On by default.

    Default true

    World settings

  41. settings

    Lists or changes the server's world settings, such as forced PvP, survival mode, player hunger and settlement limits.

    Command

    World settings

  42. SurvivalMode

    Survival mode makes food spoil, lets players die of hunger and makes hungry settlers leave. On by default.

    Default true

    World settings

  43. buff

    Gives a player a buff, for a number of seconds if you set one.

    Command

    Players and items

  44. clearbuff

    Removes a buff from a player.

    Command

    Players and items

  45. copyplayer

    Copies one player's inventory, position and health over to another player.

    Command

    Players and items

  46. enchant

    Clears, sets or gives a random enchantment to an item in your inventory. Use slot -1 for the item you hold.

    Command

    Players and items

  47. hp

    Sets a player's health.

    Command

    Players and items

  48. hunger

    Sets a player's hunger, as a percent.

    Command

    Players and items

  49. invincibility

    Turns invincibility on (1) or off (0) for a player.

    Command

    Players and items

  50. mana

    Sets a player's mana.

    Command

    Players and items

  51. maxhp

    Sets a player's maximum health.

    Command

    Players and items

  52. maxmana

    Sets a player's maximum mana.

    Command

    Players and items

  53. upgrade

    Sets the upgrade tier of an item in your inventory. Use slot -1 for the item you hold.

    Command

    Players and items

  54. upgradeall

    Sets the upgrade tier of every item you have equipped and on your hotbar.

    Command

    Players and items

  55. clearall

    Removes all mobs, dropped items and projectiles on your level, or on every loaded level.

    Command

    World and events

  56. cleardrops

    Removes items lying on the ground, all or one type, on your level or on every loaded level.

    Command

    World and events

  57. clearevents

    Clears the events running on your level, or on every loaded level.

    Command

    World and events

  58. clearmobs

    Removes all mobs, or one type, on your level or on every loaded level.

    Command

    World and events

  59. endraid

    Ends the raid at a player's location.

    Command

    World and events

  60. rain

    Starts or stops rain on your level.

    Command

    World and events

  61. setraiddifficulty

    Sets the difficulty of the next raid on the settlement at a player's location, in percent.

    Command

    World and events

  62. startraid

    Starts a raid on the settlement where a player is standing.

    Command

    World and events

  63. clearteam

    Removes a player from their current team.

    Command

    Teams

  64. createteam

    Creates a new team with you in it.

    Command

    Teams

  65. getteam

    Shows which team a player is in, with the team's ID.

    Command

    Teams

  66. invite

    Invites a player to your team.

    Command

    Teams

  67. leaveteam

    Leaves your current team.

    Command

    Teams

  68. setteam

    Moves a player into a team, by the team's ID.

    Command

    Teams

  69. setteamowner

    Makes a team member the team's owner.

    Command

    Teams

  70. die

    Kills your own character.

    Command

    Player commands

  71. help

    Lists the commands, a page at a time, or describes one command with its permission level.

    Command

    Player commands

  72. me

    Announces an action to the whole server, as in /me waves.

    Command

    Player commands

  73. playtime

    Shows how long you've played on the server.

    Command

    Player commands

  74. whisper

    Sends a private message to one player. /w and /pm do the same.

    Command

    Player commands

  75. droppedItemsLifeMinutes

    Minutes dropped items stay in the world. 0 or less, the default, keeps them forever.

    Default 0

    server.cfg

  76. language

    The server's language, used only for occasional messages in the log. The default is en.

    Default en

    server.cfg

  77. logging

    Writes a log file for each server start. On by default.

    Default true

    server.cfg

  78. maxClientLatencySeconds

    Seconds of latency a player can have before the server drops them. The default is 30.

    Default 30

    server.cfg

  79. maxSettlersPerSettlement

    The most settlers one settlement can have. -1 or less, the default, means no limit.

    Default -1

    server.cfg

  80. MOTD

    The message of the day, shown to players when they join. Empty by default.

    Default (empty)

    server.cfg

  81. password

    The password players must enter to join. Blank means no password.

    Default (empty)

    server.cfg

  82. pauseWhenEmpty

    Pauses the world while no players are connected. On by default.

    Default true

    server.cfg

  83. port

    The UDP port the server hosts on. The default is 14159.

    Default 14159

    server.cfg

  84. slots

    How many players can be on the server at once, from 1 to 250. The default is 10.

    Default 10

    server.cfg

  85. strictServerAuthority

    Makes the server much stricter about what players' games may do. Off by default.

    Default false

    server.cfg

  86. unloadLevelsCooldown

    Seconds a level stays loaded after the last player leaves it. The default is 30.

    Default 30

    server.cfg

  87. unloadSettlements

    Whether the server unloads player settlements when nobody is near, or keeps them loaded. Off by default, so they stay loaded.

    Default false

    server.cfg

  88. zipSaves

    Saves the world compressed into a zip file. On by default.

    Default true

    server.cfg

  89. -datadir

    The folder where the cache, latest log, saves and settings are kept.

    Default Not listed

    Launch options

  90. -ip

    Binds the server to one IP address.

    Default Not listed

    Launch options

  91. -language

    The server's language, used only for occasional messages in the log.

    Default Not listed

    Launch options

  92. -localdir

    Keeps the saves, settings and logs in the server's own folder instead of the user's Necesse data folder.

    Default Not listed

    Launch options

  93. -logging

    Writes a log file for each session (1) or not (0). On by default.

    Default Not listed

    Launch options

  94. -logs

    The folder log files go in, when logging is on.

    Default Not listed

    Launch options

  95. -motd

    Sets the message of the day at start. Use \n for a new line.

    Default Not listed

    Launch options

  96. -nogui

    Runs the server in the terminal instead of opening its window.

    Default Not listed

    Launch options

  97. -password

    The join password. Blank means no password. Overrides password in server.cfg.

    Default Not listed

    Launch options

  98. -pausewhenempty

    Pauses the world when no players are on (1) or not (0). Overrides pauseWhenEmpty in server.cfg.

    Default Not listed

    Launch options

  99. -port

    The port to host on. Overrides port in server.cfg.

    Default Not listed

    Launch options

  100. -settings

    Loads the server settings from another file instead of cfg/server.cfg.

    Default Not listed

    Launch options

  101. -slots

    How many player slots the server has. Overrides slots in server.cfg.

    Default Not listed

    Launch options

  102. -world

    The world to load, so the server doesn't ask which one at start. A new world with that name is made if none exists.

    Default Not listed

    Launch options

  103. -zipsaves

    Saves the world compressed (1) or not (0). On by default.

    Default Not listed

    Launch options

  104. banned.cfg

    The ban list: one banned name or authentication per line. /ban and /unban update it.

    Default Not listed

    Files

  105. server.cfg

    The server's settings file: port, slots, password, pausing, latency, logging, level and settlement limits, saves and the message of the day.

    Default Not listed

    Files

  106. worldSettings.cfg

    The world's own settings: difficulty, death penalty, raid frequency, survival mode, hunger, PvP, cheats, creative mode and day and night length.

    Default Not listed

    Files

Questions

How do I run Necesse commands on my server?

The Console tab can't send commands to Necesse: players type them in game chat with a leading slash, at their permission level (add -owner to the start line in .slashplay/boot.sh to become owner). Settings go in cfg/server.cfg in the Files tab and apply at the next restart.

How do I keep a setting after a restart?

The server reads its settings from cfg/server.cfg when it starts. Change them there, in the Files tab of the server page, then restart the server.

Where does this list come from?

It is the game's own list: the dedicated server's own help and -help output and the server.cfg it writes, tested on a 1.3.3 server, plus the official Necesse wiki's Multiplayer page. The descriptions and examples on the written pages are by SLASHPLAY.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.