Search the Community
Showing results for tags 'toggle'.
-
Version 1.0.1
4 downloads
Ever wanted to prevent your players from having homing launchers target their teammates helicopters? Well with these 2 plugins you can! They can even toggle between being able to target their teammates and not being able to using a simple command. This can be configured from the config and has the ability to have more than 1 command to toggle it. Just open the zip (or unzip it) and place the two .cs plugins in your plugin folder. To switch between team targeting, just type /teamlock or /nolock. Can also do /teamlock on and /nolock off. (Assuming you have those as the commands in the command list in the config) Default Config: { "The command a user will use to toggle the locking of teammates.": [ "teamlock", "nolock" ] } Video Example:$1.99-
- 1
-
- #homing
- #homing missiles
- (and 5 more)
-
Version 1.3.0
85 downloads
Allows your admin, moderators and staff members to instantly toggle between their authority role and the player role while logging each swap to discord as well as a data file to keep accountability in check! **************** NOTE: When granting permissions be sure to apply the permission to the specific player, NOT a group as it will not allow them to regain their permissions. **************** In the configuration file you can: Specify which groups the authorized player will be put into when they toggle in and out of their authority role for each. (Admin/moderator/staff) Specify your Admin player role display name (includes chat, permissions, console, team/clan). Set the commands for each group. Specify a list of commands to run for Admin/Mods when they toggle to and from authorized roles. Add your Discord webhook to log each time the person toggles roles. (If you do not wish to use the Discord logging feature then leave that line as is in the config.) Choose to work with other plugin features. (true/false options) And more! Default groups and commands: Admin toggles to default - /tadmin Mods toggles to default - /tmod Staff toggles to default - /tstaff Permissions: "authtoggle.admin" - allows admin to toggle groups. "authtoggle.moderator" - allows moderators to toggle groups. "authtoggle.staff" - allows staff to toggle groups. Default Configuration File: { "Chat Prefix": "<color=#32CD32>Auth Toggle</color>: ", "Discord Prefix": "Auth Toggle: ", "Discord WebHook": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks", "Change Commands": { "Admin swap Groups": "tadmin", "Moderator swap Groups": "tmod", "Staff swap Groups": "tstaff" }, "Groups": { "Admin player group name": "default", "Admin group name": "admin", "Moderator player group name": "default", "Moderator group name": "mods", "Staff group name": "staff", "Default group name": "default" }, "Main Options": { "Change name as Admin": true, "Admin player name to use": "yourchosennamehere", "Empty Admin inventory on disconnect": false, "Store and restore inventory when swapping Auth levels (Admin Only)": true, "Auto run Admin commands": true, "Auto run Moderator commands": true, "Auto run player commands": true }, "Optional Dependencies": { "Vanish": true, "AdminRadar": false, "Godmode": false }, "Auto Commands": { "Admin chat commands to run when toggled to Admin": [ "" ], "Moderator chat commands to run when toggled to Moderator": [ "", "" ], "Admin / Moderator chat commands to turn off when toggled to Player": [ "", "" ] } } Default Data File: { "AdminSwapped": [], "ModsSwapped": [], "StaffSwapped": [] } Default Lang File: { "ToPlayer": "You have swapped to player mode and have been placed in the", "ToStaff": "You have swapped to staff mode and have been placed in the", "ToModerator": "You have swapped to moderator mode and have been placed in the", "ToAdmin": "You have swapped to admin mode and have been placed in the", "SwappedToPlayer": "{0} ({1}) swapped to player mode.", "SwappedToStaff": "{0} ({1}) swapped to staff mode.", "SwappedToModerator": "{0} ({1}) swapped to moderator mode.", "SwappedToAdmin": "{0} ({1}) swapped to admin mode.", "SwapDenied": "{0} ({1}) tried to toggle {2} authority without permission.", "Pradar": "Please disable AdminRadar before swapping.", "PGround": "Please get safely on the ground before swapping roles." }$4.99 -
Version 1.2.0
169 downloads
A simple plugin to allow users to toggle creative mode for themselves based on permissions. As of now, this plugin is considered complete, however if you have suggestions please feel free to reach out. Commands: /creative - Toggle Creative mode for the user who issued the command /creativefreerepair - Toggles the creative.freeRepair Convar /creativefreebuild - Toggles the creative.freeBuild Convar /creativefreeplacement - Toggles the creative.freePlacement Convar /creativefreeunlimitedio - Toggles the creative.unlimitedIo Convar Config Options: { ConsoleLoggingEnabled = true, ChatMessageEnabled = true, IconEnabled = true, IconAnchorMin = "0.345 0.11", IconAnchorMax = "0.375 0.16", IconImageURL = "https://i.postimg.cc/nVvW4Smw/Creative-Mode.png", IconColor = "1 1 1 0.3", CreativePermission = "creativetoggle.use", ConVarPermission = "creativetoggle.convars" } This plugin still relies on the built-in Rust convars. See the quote below for more information about those. Permissions: creativetoggle.use - Allows the user to toggle creative mode for themselves. creativetoggle.convars - Allows the user to toggle the state of the convars related to creative mode. Resources used: Visual Studio Code Visual Studio 2022 Github Copilot VS Code Extension HandyS11's RustPluginTemplateFree