# Tutorial Collection of Admin Codes for Nightly Build

Discussion in 'Nightly Builds Support' started by SivCorp, Jun 17, 2014.

1. ### SivCorpParsec Taste Tester

• temporarily unlock all recipes
• become invincible
• have infinite energy
• you do not use any crafting resources.

With the nightly builds needing admin commands to properly progress at times, we need a comprehensive list to refer to.

This will be that list.

So share your commands that you have found, and we, the community, will get a working list put together for ease of use.
Current known codes: [[[ updated 4/05/2015 ]]]

/admin [1,0] : used to activate admin commands (now is a toggle command)
---- while in admin mode, you can type "y" "p" "up arrow key" to repeat the last command used. (now an active use key)
• help : Available commands are: %s. Use /help commandName to get detailed documentation.,
• serverreload : Usage /serverreload. Reloads the remote, server side assets. Will cause lag as they are reparsed.,
• timewarp : Usage /timewarp timeInSeconds. Warp time ahead by timeInSeconds.,
• spawnitem : Usage /spawnitem itemName [count] [variantParameters]. Spawn the specified item at the mouse cursor. If the item does not exist it will spawn a perfectly generic item. Count expects an integral number. Variant parameters are parameters passed to the item's constructor. They are specified as JSON. Best practice is to surround JSON in single quotes.
• You can spawn different colors of armor using the JSON code -
• Example: using direct code
/spawnitem bonusarmorchest 1 '{"directives":"?replace;6f2919=151515;a85636=383838;e0975c=555555;ffca8a=838383"}'
That will spawn a BLACK Makeshift Chest Armor.
• Example: using colorindex code
/spawnitem bonusarmorchest 1 '{"colorIndex":8}'
Spawns a BLUE Makeshift Chest Armor​
• money [amount]

• spawnmonster : Usage /spawnmonster type [level] [variantParameters]. Spawn the specified monster type at the mouse cursor. If level is not specified it takes level 0. Variant parameters are parameters passed to the monster's constructor. They are specified as JSON. Best practice is to surround JSON in single quotes.

• spawnnpc : Usage /spawnnpc species [type] [level]. Spawn an NPC of that specified species. If type is specified it spawns on the specific NPC type (for instance, guard). If level is not specified it takes level 0.,

• spawnliquid [liquidID] [quantity] Spawns a liquid at mouse cursor
• spawngun : Usage /spawngun level [kind]. Spawn a randomized gun with the given level. If kind is specified then the gun is limited to that kind (for instance, commonshotgun). If you want to spawn a non-randomly generated gun use /spawnitem instead.,
• spawnsword : Usage /spawnsword level [kind]. Spawn a randomized sword with the given level. If kind is specified then the sword is limited to that kind (for instance, commonshortsword). If you want to spawn a non-randomly generated sword use /spawnitem instead.,
• spawnshield : Usage /spawnshield level [kind]. Spawn a randomized shield with the given level. If kind is specified then the shield is limited to that kind (for instance, riotshield). If you want to spawn a non-randomly generated shield use /spawnitem instead.,
• pvp : Usage /pvp. Toggle your Player VS Player mode if possible.,
• message : Usage /message message. Same as sending a message by just pressing enter and typing. Useful for avoiding having your messaged parsed by the command parser.,
• showhunger : Usage /showhunger. Displays your hunger bar for several seconds.,
• played : Usage /played. Displays how long you've played this character.,
• itemid : Usage /itemid bagSpecifier slotSpecifier. Dumps item information to the command line. bagSpecifier is a number between 1 and 6 or one of (case insensitive) \bag\, \tilebag\, \bar\, \equipment\, \wieldable\, \swap\. slotSpecifier is dependent on the bag type. If type is bag, tilebag, 1 or 2 then slotSpecifier is a number between 0 and 39 inclusive. If type is bar or 3 then slotSpecifier is a number between 0 and 9 inclusive. If type is equipment or 4 then slotSpecifier is a number between 0 and 12 inclusive or one of (case insensitive) \head\, \chest\, \legs\, \back\, \headSoc\, \chestSoc\, \legsSoc\, \backSoc\, \tech1\, \tech2\, \tech3\, \tech4\, \trash\. If type is wieldable then slotSpecifier is either 0 or 1 or (case insensitive) \lefthand\ or \righthand\. If type is swap then only 0 is valid.,
• gravity : Usage /gravity. Display the gravity at the player's position.,
• debug : Usage /debug. Enable debugging mode.,
• togglelogmap : Usage /togglelogmap. Toggle the display of debugging text information to the screen if debug mode is enabled.,
• boxes : Usage /boxes. Toggle the display of debugging polygons if debug mode is enabled. Generally collision and sensor information.,
• clearboxes : Usage /clearboxes. Toggle whether or not to clear boxes displayed with /boxes every frame. Useful for determining routes that enemies take, can get messy looking though.,
• togglelayer : Usage /togglelayer. Toggle the visibility of the specified layer. A layer is a number between 1 and 21. They are in order: Sky, Parallax, UndergroundParallax, Background, Platforms, Plant, PlantDrop, Object, CursorHintedObject, ParticlesBottom, Effect, Projectile, NPC, Player, ItemDrop, Water, ParticlesMiddle, Foreground, ParticlesTop, Nametag, InfoBars.,
• fullbright : Usage /fullbright. Disable the lighting engine and show everything.,
• setgravity : Usage /setgravity level. Sets your local gravity to the level specified. Standard gravity is 80. Negative values will make you fall up but you can't jump from your head. This change is local only, and looks pretty henious on a server, because it screws very heavily with delta prediction.,
• resetgravity : Usage /resetgravity. Undoes /setgravity. Begin using server gravity again.,
• kick : Usage /kick playerSpecifier [reason]. Kick the specified player and send the reason to the player. If no reason is specified then the player's server nickname is used as the reason (IRC Style).,
• ban : Usage /ban playerSpecifier [reason] [kind] [timeInSeconds]. Kick and ban the specified player and send the reason to the player. If no reason is specified then the player's server nickname is used as the reason (IRC Style). Kind is specified as \uuid\ or \ip\ or \both\. Other values are invalid. If kind is not specified or incorrectly specified then \both\ is used. timeInSeconds defaults to forever. Bans that have a specified duration are not persistent. If you shut down the server or reload configuration, all of your temporarily banned users will be unbanned immediately.,
• list : Usage /list. List all clients logged into the server. Format is \$clientId : serverNickname : $$playerUuid. If the serverNickname contains unprintable characters the unicode escape sequence for those characters will be displayed instead., • toplayership : Usage /toplayership playerSpecifier. Warp self to the specified player's ship. • fixedcamera : locks the camera on screen and not on the player. Useful for shooting video. • aiaction : Spawn techs for use on the ship ai, listed below... Useful Server codes: How to protect the spawn area using the new admin commands... /debug (shows the dungeonId where your cursor is) /settileprotection dungeonId true|false (turn tile protection on or off for the specified dungeonId) /setspawnpoint (set the spawn area for the current world to your character's current position) ---- QUEST GUIDE [[ as of 12/19/2014 ]] To Fix the ship: /spawnitem shiprepairkit 1 /spawnitem FTLrepairkit 1 /spawnitem ShipT3 To Upgrade the ship /spawnitem shipTx Where x = levels 2-8 Websites. Item list http://starbounditems.herokuapp.com/ Other gameplay mechanics to watch out for... Mining - Pickaxes are no long repairable, but mine at a faster rate. ores (and bars!) drop on death, and can only be mined with the appropriate pick or upgraded MM. They also despawn quickly, so bring chests to put your ores in as you go, or a furnace to smelt them immediately. Ores also instantly vanish from disturbed ground (sand) and are not collectible. No more sand surfing for ores. Progression - The FTL mission is not available yet. (sept 29, 2014) Currently only tier 2 is in place. (sept 29, 2014) Processor is not obtainable yet, but can be spawned. NPCs - Monsters - some designs are not available or spawning while they are being worked on. Other things? BUGS!!!! [[[ updated 12/20/2014 ]]] The status effect system is currently offline, and many things tied to it are now non functional.] The Air backback does not provide air The lantern on a stick does not provide light. Enemy NPCs and monsters that are damaged to 1 hp become invincible. now fixed. the FTL upgrade doesn't seem to work correctly... so your ship is stuck. (the Ship repair kit lvl 3 seems to fix it) Thanks all! Last edited by a moderator: Jun 16, 2015 2. ### MysticMalevolenceOxygen Tank There's almost a full list on Tiy's blog post on admin commands. There is also /ruinthefun, which takes away admin privliges and makes you a puny, weak, mortal creature. 3. ### SivCorpParsec Taste Tester That is not a full list. This is for all the other commands that will be found while testing. Though I will add those ones posted to the list. 4. ### Terwin94Pangalactic Porcupine Anyone know the item id for a psi staff? 5. ### OrdonaFormer Staff /help Robotoh and The | Suit like this. 6. ### wayninjaAquatic Astronaut Here are types of monsters to summon using /spawnmonster I'm not sure what that is, or if it's just a misspelling, but you can do: /spawnitem scistaff here's a list of commands and the help text assoicated with them: • help : Available commands are: %s. Use /help commandName to get detailed documentation., • reload : Usage /reload. Reloads your local, client side assets. Will cause lag as they are reparsed., • serverreload : Usage /serverreload. Reloads the remote, server side assets. Will cause lag as they are reparsed., • timewarp : Usage /timewarp timeInSeconds. Warp time ahead by timeInSeconds., • spawnitem : Usage /spawnitem itemName [count] [variantParameters]. Spawn the specified item at the mouse cursor. If the item does not exist it will spawn a perfectly generic item. Count expects an integral number. Variant parameters are parameters passed to the item's constructor. They are specified as JSON. Best practice is to surround JSON in single quotes., • spawnmonster : Usage /spawnmonster type [level] [variantParameters]. Spawn the specified monster type at the mouse cursor. If level is not specified it takes level 0. Variant parameters are parameters passed to the monster's constructor. They are specified as JSON. Best practice is to surround JSON in single quotes., • spawnnpc : Usage /spawnnpc species [type] [level]. Spawn an NPC of that specified species. If type is specified it spawns on the specific NPC type (for instance, guard). If level is not specified it takes level 0., • spawngun : Usage /spawngun level [kind]. Spawn a randomized gun with the given level. If kind is specified then the gun is limited to that kind (for instance, commonshotgun). If you want to spawn a non-randomly generated gun use /spawnitem instead., • spawnsword : Usage /spawnsword level [kind]. Spawn a randomized sword with the given level. If kind is specified then the sword is limited to that kind (for instance, commonshortsword). If you want to spawn a non-randomly generated sword use /spawnitem instead., • spawnshield : Usage /spawnshield level [kind]. Spawn a randomized shield with the given level. If kind is specified then the shield is limited to that kind (for instance, riotshield). If you want to spawn a non-randomly generated shield use /spawnitem instead., • pvp : Usage /pvp. Toggle your Player VS Player mode if possible., • serverwhoami : Usage /serverwhoami. Display your server username and admin status., • whoami : Usage /whoami. Display your local username and admin status., • message : Usage /message message. Same as sending a message by just pressing enter and typing. Useful for avoiding having your messaged parsed by the command parser., • showhunger : Usage /showhunger. Displays your hunger bar for several seconds., • played : Usage /played. Displays how long you've played this character., • itemid : Usage /itemid bagSpecifier slotSpecifier. Dumps item information to the command line. bagSpecifier is a number between 1 and 6 or one of (case insensitive) \bag\, \tilebag\, \bar\, \equipment\, \wieldable\, \swap\. slotSpecifier is dependent on the bag type. If type is bag, tilebag, 1 or 2 then slotSpecifier is a number between 0 and 39 inclusive. If type is bar or 3 then slotSpecifier is a number between 0 and 9 inclusive. If type is equipment or 4 then slotSpecifier is a number between 0 and 12 inclusive or one of (case insensitive) \head\, \chest\, \legs\, \back\, \headSoc\, \chestSoc\, \legsSoc\, \backSoc\, \tech1\, \tech2\, \tech3\, \tech4\, \trash\. If type is wieldable then slotSpecifier is either 0 or 1 or (case insensitive) \lefthand\ or \righthand\. If type is swap then only 0 is valid., • gravity : Usage /gravity. Display the gravity at the player's position., • debug : Usage /debug. Enable debugging mode., • togglelogmap : Usage /togglelogmap. Toggle the display of debugging text information to the screen if debug mode is enabled., • boxes : Usage /boxes. Toggle the display of debugging polygons if debug mode is enabled. Generally collision and sensor information., • clearboxes : Usage /clearboxes. Toggle whether or not to clear boxes displayed with /boxes every frame. Useful for determining routes that enemies take, can get messy looking though., • togglelayer : Usage /togglelayer. Toggle the visibility of the specified layer. A layer is a number between 1 and 21. They are in order: Sky, Parallax, UndergroundParallax, Background, Platforms, Plant, PlantDrop, Object, CursorHintedObject, ParticlesBottom, Effect, Projectile, NPC, Player, ItemDrop, Water, ParticlesMiddle, Foreground, ParticlesTop, Nametag, InfoBars., • fullbright : Usage /fullbright. Disable the lighting engine and show everything., • setgravity : Usage /setgravity level. Sets your local gravity to the level specified. Standard gravity is 80. Negative values will make you fall up but you can't jump from your head. This change is local only, and looks pretty henious on a server, because it screws very heavily with delta prediction., • resetgravity : Usage /resetgravity. Undoes /setgravity. Begin using server gravity again., • kick : Usage /kick playerSpecifier [reason]. Kick the specified player and send the reason to the player. If no reason is specified then the player's server nickname is used as the reason (IRC Style)., • ban : Usage /ban playerSpecifier [reason] [kind] [timeInSeconds]. Kick and ban the specified player and send the reason to the player. If no reason is specified then the player's server nickname is used as the reason (IRC Style). Kind is specified as \uuid\ or \ip\ or \both\. Other values are invalid. If kind is not specified or incorrectly specified then \both\ is used. timeInSeconds defaults to forever. Bans that have a specified duration are not persistent. If you shut down the server or reload configuration, all of your temporarily banned users will be unbanned immediately., • list : Usage /list. List all clients logged into the server. Format is clientId : serverNickname :$$playerUuid. If the serverNickname contains unprintable characters the unicode escape sequence for those characters will be displayed instead.,
• toplayership : Usage /toplayership playerSpecifier. Warp self to the specified player's ship.

To Fix the ship:

/spawnitem shiprepairkit 1
/spawnitem ftlrepairkit 1

To Upgrade the ship, it's a bit more involved. The items to do so may have been intentionally left out, but you can add items back in that will upgrade. Here is a quick/dirty guide on how to do it
.

Last edited: Jun 17, 2014
Freakscar, DevonDe, DxrShiift and 2 others like this.
7. ### Terwin94Pangalactic Porcupine

Wow, the one you spawn is really underwhelming. Can't wait to see what other stuff they can end up doing.

8. ### wayninjaAquatic Astronaut

I didn't see any other staves in the assets.

9. ### Terwin94Pangalactic Porcupine

Maybe they only have one in right now, or have another name, maybe they do more as you get armor. either way we will probably end up with more.

10. ### SivCorpParsec Taste Tester

Thanks wayninja for the great contribution!

11. ### wayninjaAquatic Astronaut

Currently the build is allowing you to build everything. Since I can't find stuff staring me in the face when there's too much around it (I call it junk drawer syndrome, not sure if that's a thing), does anyone know if there is an admin command that switches this off, so prereqs are enforced again?

12. ### Rainbow DashOxygen Tank

anyone find out the item that upgrades ships?
id like to see the upgraded starmap that shows weather on planets and stuffs

13. ### wayninjaAquatic Astronaut

I haven't figured out how to upgrade the ship, but I do know how to repair it (credit to Taddl) which will let you travel
/spawnitem shiprepairkit 1
/spawnitem FTLrepairkit 1

Use those items in that order

Huninn and Tamorr like this.

15. ### wayninjaAquatic Astronaut

I thought I'd tried that and was still able to craft everything, maybe I just toggled to many times. Thanks!

16. ### SivCorpParsec Taste Tester

Thanks again for doing the investigation into all the upgrades.

17. ### Midnight_BlitzSubatomic Cosmonaut

So useful... Consider me a fan. THANK YOU.

18. ### wayninjaAquatic Astronaut

/spawnitem shipTX

Where X = 2-8

MysticMalevolence likes this.
19. ### MysticMalevolenceOxygen Tank

To repait your FTL, FTL needs to be capitalized when spawning in the item. Otherwise you will get a perfectly generic item.
EDIT: I also just found out that there's no limit to the level of weapon you can spawn with /spawnsword.
However, either way the dps always seems to cap out at around 5000-5500.

Last edited: Jun 20, 2014
DevonDe likes this.
20. ### SivCorpParsec Taste Tester

Thanks again all for the continued sleuthing. Updated with current findings.