Skip to content

Commit cc7f3d1

Browse files
committed
04-10-16
1 parent 220d02a commit cc7f3d1

File tree

338 files changed

+70250
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+70250
-65
lines changed

rust/Admin.lua

Lines changed: 636 additions & 0 deletions
Large diffs are not rendered by default.

rust/Admin.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
**Ultimate Admin** allows admins or users with permission to easily go from User to Admin mode which saves and restores inventories, enables godmode, cancels damage done by admins in godmode and allows the admin to open all doors. All of the admin abilities can be configured in the config file.
2+
3+
4+
The server owner (or anyone with the permission **admin.master **(default permission)) must save a Master set before other admins can use it.
5+
6+
7+
Changes while being in Admin Mode with permission:
8+
9+
- Automatically save and revert inventory when toggling /admin
10+
11+
- Godmode is enabled
12+
13+
- Lock inventory when sleeping
14+
15+
- Bypass building restriction
16+
17+
- No durability on items
18+
19+
- Damage dealt while in godmode is cancelled
20+
21+
- Open any locked door
22+
23+
**Chat Commands
24+
25+
Toggle Admin Mode: /**admin
26+
**Save Master Set: /**admin master
27+
**Save Custom Set: /**admin save (admin.loadout permission required)
28+
**Change Preferred Set: /**admin set master** OR /**admin set custom
29+
30+
**ToDo List**
31+
32+
- /kick
33+
34+
- /ban
35+
36+
- /airdrop
37+
38+
- Update Config in-game
39+
40+
- Your suggestions
41+
42+
43+
All Admin Data is saved when a player disconnects and through server restarts.
44+
45+
**Default Config**
46+
47+
````
48+
49+
{
50+
51+
  "Messages": {
52+
53+
    "AdminDisabled": "<color=#FF3D0D>You have disabled Admin Mode.</color>",
54+
55+
    "AdminEnabled": "<color=#99CC32>You have enabled Admin Mode.</color>",
56+
57+
    "CantDamageAdmin": "<color=#FF3D0D>This player is in admin mode and can't be damaged!</color>",
58+
59+
    "CantLootAdmin": "<color=#FF3D0D>You are not allowed to open an admin's inventory!.</color>",
60+
61+
    "InventorySaved": "<color=#99CC32>You have saved your current inventory.</color>",
62+
63+
    "NoMasterSaved": "<color=#FF3D0D>No master inventory found! Ask the owner of the server to save a Master inventory.</color>",
64+
65+
    "NoPermission": "<color=#FF3D0D>You do not have permission to use this command.</color>",
66+
67+
    "TriedToDamage": " tried to damage you!"
68+
69+
  },
70+
71+
  "Permissions": {
72+
73+
    "BypassBuildingBlocked": "admin.bypass",
74+
75+
    "CanKickPlayers": "admin.kick",
76+
77+
    "CanOpenAllDoors": "admin.door",
78+
79+
    "CanSaveMaster": "admin.master",
80+
81+
    "CanUseAdmin": "admin.use",
82+
83+
    "CanUseCustomLoadout": "admin.loadout",
84+
85+
    "Godmode": "admin.god",
86+
87+
    "LockedInventory": "admin.lock",
88+
89+
    "NoDurability": "admin.durability"
90+
91+
  },
92+
93+
  "Settings": {
94+
95+
    "AdminsBypassBuildingBlocked": "true",
96+
97+
    "AdminsCanOpenAllDoors": "true",
98+
99+
    "AdminsCanUseGodMode": "true",
100+
101+
    "AdminsNoDurability": "true",
102+
103+
    "DisableAdmin_vs_EntityDamageIfGodmode": "true",
104+
105+
    "DisableAdmin_vs_PlayerDamageIfGodmode": "true",
106+
107+
    "NotifyAdminWhenDamaged": "true",
108+
109+
    "NotifyPlayerWhenAttacking": "false",
110+
111+
    "RequiredAuthLevel": 2,
112+
113+
    "UseAuthLevelPermission": "true"
114+
115+
  }
116+
117+
}
118+
119+
 
120+
````

rust/AdminRadar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Draws boxes where all players are
22

33
I can't draw names sadely as the text is wayyyyyyyyyy to small for anyone to read.
4+
45
**Admin Commands:**
56

67
- /radar => activate / deactivate the radar

rust/AirdropControl.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
- Send mass airdrops
1414

1515
- Show drop locations (or not)
16+
1617
**Console Commands:**
1718

1819
- airdrop.massdrop NUMBER => call mass airdrops
1920

2021
- airdrop.topos X Y Z => send an airdrop to that location (carefull with the Y, if you set it too low the airdrop will be close to the ground , or might even drop under the map)
2122

2223
- airdrop.toplayer PLAYER => send an airdrop to that player
24+
2325
**Configs:**
2426

2527
````
@@ -62,6 +64,7 @@
6264

6365
Airdrop Speed => 40 is the default airdrop speed, you can make them go faster or slower.
6466

67+
6568
Drop MinX,MaxX,MinZ,MaxZ => those are set automatically on creation of your config file, it corresponds to: (server.worldsize/2 - 500).
6669

6770
So a worldsize of 6000, will have the limits between -2500 and 2500.
@@ -71,8 +74,11 @@ This was made like that so airdrops don't drop in the ocean.
7174
You can freely edit this if you want, just be carefull not to drop outside the map
7275
Drop MinY, MaxY => default are 200 and 300, it's the height where airdrops should fly between.
7376

77+
7478
Drop MinCrates, MaxCrates => number of crates that each airdrop should throw. (on rust default is 1 for min and max ). So be carefull if you put Max to more then 1, try to give less loots maybe with the Airdrop Settings, unless you want a mass loot.
7579

80+
7681
Drop MinDropCratesInterval, MaxDropCratesInterval => time for the airdrop to wait before sending another crate (if maxcrates > 1).
7782

83+
7884
Drop ShowDropLocation => everytime an airdrop is sent, show where it will drop.

0 commit comments

Comments
 (0)