AdminPlus

Approved AdminPlus 2.0.1

No permission to download

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,463
485
83
Australia
What is the flag for rust++? So my mods can use it?
Theres no flag with this plugin, Just add the player as a moderator using the moderator plugin and set ModeratorsCanUse=true in settings.ini file (true by default)
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
3,992
2,253
113
At your house.
github.com
How do you add flags in Rust++?
You just add flags in the admins.xml under the user.

Player.Moderator checks if the player has the Moderator flag.

https://github.com/Notulp/Fougerite/blob/master/Fougerite/Fougerite/Player.cs#L426

in a plugin you would do:

if not Server.HasRustPP:
return


Server.GetRustPPAPI().GetAdmin(Player.UID).HasPermission("Moderator")

https://github.com/Notulp/Fougerite/blob/master/Fougerite/Fougerite/RustPPExtension.cs

https://github.com/Notulp/Fougerite/blob/master/RustPP/Permissions/Administrator.cs
 

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,463
485
83
Australia
Nice,
So I can create custom flags doing this?
EG Server.GetRustPPAPI().GetAdmin(Player.SteamID).HasPermission("Can420BanQuickScope")?
 
  • Agree
Reactions: DreTaX

tarynkelley

Moderator
Moderator
Nov 14, 2015
559
119
28
Parts Unknown
Hi,

is there any chance to impletend a blacklist for AdminPlus.

I don't want all moderators to be able to use AdminPlus. Only a few selected.

Or maybe a blacklist for special AdminPlus commands?

Or something like a permission system for AdminPlus.
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
576
307
63
How can i give myself a permission to use AdminPlus?
Being the server administrator and using rcon (rcon flag if using rust ++) or also being moderator and in the settings have ModeratorsCanUse = true, gretings ^^
 
  • Informative
Reactions: Jakkee