Skip to content

strykes/Rust-Unmodded-Addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-Unmodded-Addon 0.5

Php Addon for Unmodded Rust servers

You can launch it with any platform that uses php, it doesn't need to be on the same host as the server.

Edit config.php and settings.php with the required informations
for admins you need to use there steamcommunityid, it has 17 numbers in it.
just go to your profile page and it is the link showed in the bar, ex for me it's:
http://steamcommunity.com/profiles/76561197961481118
so my community id is 76561197961481118

for LINUX users:
Just use the linux_addon, to start/restart/stop the addon automatically
you need screen and php installed on the machine.

for WINDOWS users:
You need to install PHP5
Then edit: win_addon.cmd with any text editor
replace the first part with the link to the php.exe file
and the second part with the full link where main.php is located
then double click on win_addon.cmd to start it.
The console will then show on your screen.
I haven't found a way to make it launch in background yet (if anybody has any ideas they are welcomed)


Current commands:
all player names can be partial

/help
/who => shows how many players are on
/tp PLAYER/STEAMCOMMUNITYID (to teleport to a player)
/bring PLAYER/STEAMCOMMUNITYID (to bring someone to you)
/kick PLAYER/STEAMCOMMUNITYID (to kick someone)
/ban PLAYER/STEAMCOMMUNITYID REASON (to ban and kick someone)
/day (changes time to day)
/night (changes time to night)
/time XX (sets the time to any time you want)
/scream TEXT (screams and spams the chat)

NEW Version 0.2
Commands:

  • /jail PLAYER/STEAMCOMMUNITYID (Put someone in jail, need to set in settings.php)
  • /slay PLAYER/STEAMCOMMUNITYID (Put teleport that person into the bottom of the sea, killing him, need to set in settings.php)
  • /give <optional: PLAYER/STEAMCOMMUNITYID> "Item" "Quantity" (Give yourself or someone some stuff)
  • /admintest (Check if you are an admin)

Modules:

  • Broadcast connections (choose in settings to activate/deactivate the broadcast of connections/disconnections)
  • Restricted names (Choose what names or characters should be restricted, in settings/restricted_names.php)
  • Restricted dual names (Auto kick players who uses the same names, admins are immuned, it will kick the connected player if that player stole the admins name)

Logger:

  • Log Chat (choose to log chat in a file)
  • Log Connections (choose to log connections in a file)

NEW Version 0.2.1
Modules:

  • Auto-messages (Automatic messages every X seconds, see settings to set everything)

NEW Version 0.3
Modules:

  • Events: Create an event in events/ , name it to what ever you want as a .txt, ex: arena.txt in it you must have this template: name=NAME description=DESCRIPTION goal=GOAL killonstart=true/false => this is made so you can empty the inventory of the people, you MUST use sleeping bags if you use this! spawn=X Y Z spawn=X Y Z spawn=X Y Z When people spawn it will be equilibrated, so if you have 9 players, there will be 3 in each (depending on how many spawns you made), this way you can easily make teams, or just put 10 spawns for 10 players if you want a free for all.

Commands:

  • /reward (same as give)
  • /event NAME/start/stop MAXNUMBEROFPLAYERS NAME = the name of the event you want to load. NAME.txt (in events/)
  • /join (Join event)
  • /leave (Leave event)

Fixes:

  • Fixed all the errors that i could find in the script.

NEW Version 0.4
Modules:

  • Anti Spam in chat: If it spams too much in the chat, the addon will disable chat for couple seconds then reenable it.

Fixes:

  • Fixed the player list, had a maximum of 41 players because the server sends in 2 or 3 parts the status if the server has more then 41 players
  • Fixed the event, added a MAX numbers of players in the command: /event NAME MAXPLAYERS

NEW Version 0.5
MYSQL Support, optionnal. Edit in configs.php the mysql informations, and in settings.php to activate or deactivate mysql

Fixes:

  • Fixed the jail/unjail problem, that kept the people jailed even if you freed them.
  • Improved the name searchs on execute commands.

About

Php Addon for Unmodded Rust servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published