So I'm looking to put a message to the players to see who I'm sending tp and who this admin pulling
EX: AdminTeleportation: Gute teleport to EXAMPLE
Solved Broadcasting when admin uses certain plugins?
Discussion in 'Rust Discussion' started by Gute, Mar 5, 2016.
-
Wulf Community Admin
Which plugin do you use for teleportation? If you use a plugin, it'd be best to request it there, otherwise you can use the OnRunCommand hook to listen for Rust's console commands.
-
Admin Teleportation System for Rust Legacy | Oxide
Can you help me thank you for the quick response
[DOUBLEPOST=1457140226][/DOUBLEPOST]Place a prefix Admin Teleportation
And shows who the administrator is teleporting
[DOUBLEPOST=1457140723][/DOUBLEPOST]Sorry open topic in rust'm exp wanting to stop rust legacyLast edited by a moderator: Mar 5, 2016 -
Place a God Mode prefix
And it shows to players who are enabling godmode
EX : GODMODE : Gute active godmode
PLUGIN : VEGod for Rust Legacy | OxideLast edited by a moderator: Mar 5, 2016 -
Wulf Community Admin
If this is a request for an existing plugin, it should also be posted under the plugin's support thread, else under Rust Requests if it is a new request.
Also, please do not post in all caps, thank you. -
excuse me
-
Is this solved, closed, open...? Sorry I don't understand the last message. With admin teleportation you can use rust.BroadcastChat
-
rust.BroadcastChat is what your looking for or contact the creator.
-
Can you help me ?
CODE: rust.Broadcast Chat (Name chat, message); ? -
string name = "Oxide";
string message = " has activated godmode";
rust.BroadcastChat(name, netuser.displayName + message); -
I will test required
[DOUBLEPOST=1457228463][/DOUBLEPOST]You can see if it's right?
void ToggleGodMode(NetUser netuser)
{
string userid = netuser.playerClient.userID.ToString();,
string name = "Oxide";
string message = " has activated godmode";
rust.BroadcastChat(name, netuser.displayName + message);
if (!Gods.Contains(userid))
{ -
yup that should work.
-
I'm wanting to put "Prefix" example "Oxide"
Just like I want a server without abuse of the commands I want to let the players see the active godmode
Example: "God: Gute active the godmode"
Plugin: VEGod for Rust Legacy | Oxide
VEGod for Rust Legacy | Oxide -
rust.BroadcastChat("Teleportation", netuser.displayName + " has teleported to " + targetuser.displayName);
-
I am looking to put on Admin Kick & Ban for Rust Legacy | Oxide for the players to see who is doing unban
it's possible ?
@xBDMx So I'm not getting can help me?
You can set up? ._.Last edited by a moderator: Mar 14, 2016 -
Attached Files:
-
-
[DOUBLEPOST=1457996134][/DOUBLEPOST]
[Oxide] 4:58 PM [Error] AdminTeleportation.cs(243,112): error CS0103: The name `
targetuser' does not exist in the current context
I think it does not work
[DOUBLEPOST=1457996215][/DOUBLEPOST] -
Attached Files:
-
-
[Oxide] 5:06 PM [Info] [Easy Chat] "MrMacko": 1 hck
[Oxide] 5:06 PM [Info] AdminTeleportation was compiled successfully in 1094ms
[Oxide] 5:06 PM [Info] Loaded plugin AdminTeleportation v1.0.0 by Reneb
[Oxide] 5:06 PM [Warning] Missing plugin name prefix 'adminteleportation.' for p
ermission 'canteleport' (by plugin 'AdminTeleportation')
Thanks a friend