Unturned: RocketMod
RocketMod .NET Game Server Plugin Framework for Unturned the Online Game. The Legally Distinct Missile aka LDM is the latest version of RocketMod.
OpenMod is an alternative or replacement for RocketMod, however, it is less used and furthermore can be run along with RocketMod.
RocketMod used to be a popular modding framework for Unturned, but has disbanded and the project was discontinued in late 2019.
The Legally Distinct Missile (or LDM) is a fork of Rocket for Unturned maintained by the game developers (SDG) after the resignation of its original community team. Using this fork is recommended because it preserves compatibility, and has fixes for important legacy Rocket issues like multithreading exceptions and teleportation exploits. Nelson, the creator of Unturned, has forked RocketMod 4 and continues to keep up combability to Unturned 3. The core mod is now part of the game distribution.
Contents
Installation
The necessary modules must be installed. The original Rocket Mod is an abandoned project. A fork is maintained by the game developers so that functionality can be maintained.
The dedicated server includes the latest version, so an external download is not necessary.
- Install "Legally Distinct Missile (RocketMod 4) - Fork of Rocket for Unturned maintained by the game developers"
- Install the necessary RocketMod Libraries
- Install the RocketMod 4 Plugin: RocketTools.dll
RCON
Remote Console connection is made with a simple telnet client. You can use the 'telnet' command on linux or software for Windows such as Putty or CRT. RCON must be enabled on your Unturned server. Navigate to the configuration file and set the service to 'true' then restart the server.
- Edit Rocket.config.xml ( Servers/server/Rocket/Rocket.config.xml )
- Change <RCON Enabled="false" Port="0" Password="" to <RCON Enabled="true" Port="25444" Password="yourpassword"
- Save and restart the server
Example Rocket.config.xml
<?xml version="1.0" encoding="utf-8"?> <RocketSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RCON Enabled="true" Port="25444" Password="l9FccX92q" EnableMaxGlobalConnections="true" MaxGlobalConnections="1" EnableMaxLocalConnections="true" MaxLocalConnections="1" /> <AutomaticShutdown Enabled="false" Interval="86400" /> <WebConfigurations Enabled="false" Url="" /> <WebPermissions Enabled="false" Url="" Interval="180" /> <LanguageCode>en</LanguageCode> <MaxFrames>60</MaxFrames> </RocketSettings>
Commands / Usage
The following is a list of default RocketMod 4 Commands:
Tip: If you make some settings modifications in the RocketMod configuration you can often simply reset the module without restarting the entire Unturned server. If you are only making minor changes, or there's players on the server, use the command reload command:
/rocket reload
Admin Commands
/admin <player> - adds the specified player to admin list /broadcast <message> - broadcasts a message to server /exit - disconnects you from server /god - turns on and off god mode /heal [player] - heals a given player / leave blank for self-heal /help - shows help information /i <item> [amount] - gives you items /item <item> [amount] - gives you items /more - gives more items /tp <player> - teleports you to a given player /tphere <player> - teleports a given player to you /unadmin <player> - removes the specified player from admin list /vanish - turns on and off invisibility to other players /v <vehicle> - gives you a vehicle
Feature Commands
/compass - tells you what direction you are facing /effect <effect id> - spawns Unturned effect /home- teleports you to your last bed placed
Informative Commands
/investigate <player> - tells you the player's Steam 64 id /p <player> - shows your permissions, or the permissions of others (p) /p reload - reloads the permissions (p.reload) /p [add | remove] <player> <group> - add / remove player to group (p.add, p.remove) /rocket <plugins | reload> | <reload | unload | load> <plugin> - Reloading Rocket or individual plugins (rocket.plugins, rocket.reload, rocket.reloadplugin, rocket.unloadplugin, rocket.loadplugin)
Groups and Permissions
By default Rocket installs with (3) player levels, or groups. Each has access to certain commands and abilities. Default groups are "default" and "vip". Those two are defined in Rocket/Permissions.config.xml and the third level is the admin level which has no group entry. To define what commands and abilities are available to a group you must edit Permissions.config.xml. For example, if we want regular non-privileged players to be able to use the /ammo /i /v and /heal commands, some of which are from other mods, we must add entries to make Rocket/Permissions.config.xml contain:
<DefaultGroup>default</DefaultGroup> <Groups> <Group> <Id>default</Id> <DisplayName>Guest</DisplayName> <Prefix>Player</Prefix> <Suffix /> <Color>white</Color> <Members /> <Priority>100</Priority> <Permissions> <Permission Cooldown="0">p</Permission> <Permission Cooldown="5">ammo</Permission> <Permission Cooldown="5">i</Permission> <Permission Cooldown="5">v</Permission> <Permission Cooldown="60">heal</Permission> <Permission Cooldown="0">essentials.command.kits</Permission> <Permission Cooldown="0">essentials.command.kit</Permission> <Permission Cooldown="90">essentials.kit.fuel</Permission> <Permission Cooldown="90">essentials.kit.starter</Permission> </Permissions> </Group>
When a normal player connects to the server, his name will be displayed with the word "player" appended to the front because of line 6 (Prefix). If you don't want that, change that line to:
<Prefix />
The commands like v to spawn a vehicle and i to spawn an item are now available to regular players in the default player group, the group everyone starts out in.
For some reason if the command is part of the uEssentials mod then it has to be formatted with "essentials." prefixed to the command in this configuration even though the command is one word, such as with the kits command. Two word commands like /kit fuel and /kit starter work the same way, as part of uEssentials they require prefixed to their entry in this config file the "essentials." It is not like that with most plugins, but with some it is. Try it without first and if that doesn't work then whatever plugin the command is coming from must have specific requirements for the formatting.
Additional Modules: RocketMod 4 Plugins
In the permissions.config file, (In the server > rocket) you'll need to add player-accessable commands. Here's some common ones: Home, tpa, tpa.accept, tpa.deny, kit.kitname
All of the modules are not covered here, only some of the current modules commonly used. Plugins need to be compiled in order to be used. Some may not support the latest versions of Rocket or Unturned. If you are using a game hosting provider then odds are that they will provide many of these already compiled.
- AdvancedSpawnProtection.dll - Period of invulnerability for player in seconds after spawn or respawn, protection against spawn killing.
- configure by editing /Servers/server/Rocket/Plugins/AdvancedSpawnProtection/AdvancedSpawnProtection.configuration.xml
- ChatControl.dll - Banlist and Mute, based on word recognition.
- configure by editing /Servers/server/Rocket/Plugins/ChatControl/ChatControl.configuration.xml
- ChatGod.dll - control over chat, similar to ChatControl.dll so you probably won't need them both. This one has more configuration options.
- configure by editing /Servers/server/Rocket/Plugins/ChatGod/*
- EasyAmmo.dll - use the /ammo command to obtain magazines for the active weapon being held. You can ban specific weapon ammo magazine types by Id from being replenished by this command.
- configure by editing /Servers/server/Rocket/Plugins/EasyAmmo/EasyAmmo.configuration.xml
- PlayerInfoLib.dll - More Advanced / Detailed Investigate Command - this requires mysql
- configure by editing /Servers/server/Rocket/Plugins/PlayerInfoLib/PlayerInfoLib.configuration.xml
- RocketMod_TPA.dll - Just like TPA in Minecraft, this allows players to request a teleport to other players and the other player can accept or deny their request.
- uEssentials - see Unturned: uEssentials
- Vaults.dll - Store Items for Later Access (requires mysql)
- configure by editing /Servers/server/Rocket/Plugins/Vaults.configuration.xml
- WreckingBall.dll - clear structures that players build by parameters such as within range. You can include or exclude items in the config.
- configure by editing /Servers/server/Rocket/Plugins/WreckingBall/WreckingBall.configuration.xml