You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/AppleAdminControl.cs
+73-5Lines changed: 73 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,11 @@
3
3
usingRocket.Core.Plugins;
4
4
usingRocket.Unturned;
5
5
usingRocket.Unturned.Player;
6
+
usingSDG.Unturned;
7
+
usingSteamworks;
6
8
usingSystem;
9
+
usingUnityEngine;
10
+
usingLogger=Rocket.Core.Logging.Logger;
7
11
8
12
namespaceAppleAdminControl
9
13
{
@@ -12,14 +16,23 @@ public class Main : RocketPlugin
12
16
protectedoverridevoidLoad()
13
17
{
14
18
Logger.Log($"AppleAdminControl version {Assembly.GetName().Version} has been loaded!",ConsoleColor.Magenta);
15
-
Logger.Log($"AppleAdminControl created by AppleManYT#8750, for use on RedstonePlugins.com!",ConsoleColor.Cyan);
19
+
Logger.Log($"AppleAdminControl created by AppleManYT#8750 - For support, contact me via the UnturnedStore.com Discord, or submit a GitHub issue!",ConsoleColor.Cyan);
ChatManager.serverSendMessage("You can only move your own barricades!!",Color.red,null,UnturnedPlayer.FromCSteamID(instigator).SteamPlayer(),EChatMode.SAY,null,true);
ChatManager.serverSendMessage("You can only move your own structures!!",Color.red,null,UnturnedPlayer.FromCSteamID(instigator).SteamPlayer(),EChatMode.SAY,null,true);
0 commit comments