Jump to content
Message added by Xray,

If you are considering purchasing this please note
support, questions, suggestions etc are being limited

Message added by Xray,

Unmaintained / Out of support

6 Screenshots

Recommended Comments



BadLandPVE

Posted

hello!!. i have a question/suggestion. after las update facepunch did available use this commands for admins ,
this command only works from server console, adding true or flase.

creative.allUsers - activate creative all players

creative.toggleCreativeModeUser PLAYERNAME o ID64 de steam

creative.freeRepair - no cost repair

creative.freeBuild - build without mats

creative.freePlacement - build without restrictions

creative.unlimitedIO - cable longer and invisible

woul be possible implement this to activate them when toggle admin mode and disable on player mode?

Xray

Posted

18 hours ago, BadLandPVE said:

hello!!. i have a question/suggestion. after las update facepunch did available use this commands for admins ,
this command only works from server console, adding true or flase.

creative.allUsers - activate creative all players

creative.toggleCreativeModeUser PLAYERNAME o ID64 de steam

creative.freeRepair - no cost repair

creative.freeBuild - build without mats

creative.freePlacement - build without restrictions

creative.unlimitedIO - cable longer and invisible

woul be possible implement this to activate them when toggle admin mode and disable on player mode?

In the config MODES->Mode->OnAdmin
You will find
"Autorun Commands Use Forward Slash '/' For Chat-Commands & Leave It Blank For Console-Commands"

AND

"Blocked Commands"

Simply add the commands you would like to be auto-executed upon entering admin mode or the player

And if you would like to block certain commands either in admin or player mode simply add em (avoid single letter commands at checks based on IF blocked commands CONTAINS)

BadLandPVE

Posted

23 hours ago, Xray said:

In the config MODES->Mode->OnAdmin
You will find
"Autorun Commands Use Forward Slash '/' For Chat-Commands & Leave It Blank For Console-Commands"

AND

"Blocked Commands"

Simply add the commands you would like to be auto-executed upon entering admin mode or the player

And if you would like to block certain commands either in admin or player mode simply add em (avoid single letter commands at checks based on IF blocked commands CONTAINS)

i tried, adding all commands with true when you change to admin and same commands to false when return to player, and dosent works, maybe did  something wrong

BadLandPVE

Posted

43 minutes ago, BadLandPVE said:

i tried, adding all commands with true when you change to admin and same commands to false when return to player, and dosent works, maybe did  something wrong

how can i define only toggle the command to player runs admin?

"Autorun Commands Use Forward Slash '/' For Chat-Commands & Leave It Blank For Console-Commands": [
            "creative.toggleCreativeModeUser ********* true. changing * for steamid

Xray

Posted

14 hours ago, BadLandPVE said:

how can i define only toggle the command to player runs admin?

"Autorun Commands Use Forward Slash '/' For Chat-Commands & Leave It Blank For Console-Commands": [
            "creative.toggleCreativeModeUser ********* true. changing * for steamid

Try this

"Autorun Commands Use Forward Slash '/' For Chat-Commands & Leave It Blank For Console-Commands": [
  "creative.allUsers",
  "creative.toggleCreativeModeUser",
  "creative.freeRepair",
  "creative.freeBuild",
  "creative.freePlacement",
  "creative.unlimitedIO"
],
BadLandPVE

Posted

hi, console is spaming Calling hook OnPlayerViolation resulted in a conflict between the following plugins: AdminToggle - False (Boolean), Vanish (True (Boolean))
 how can i fix it?

Xray

Posted

On 10/16/2024 at 7:40 PM, BadLandPVE said:

hi, console is spaming Calling hook OnPlayerViolation resulted in a conflict between the following plugins: AdminToggle - False (Boolean), Vanish (True (Boolean))
 how can i fix it?

There is another plugin "Vanish" calling the hook "OnPlayerViolation" that insists on triggering the violation the player makes

Either change the code in AdminToggle to also return "true" (Not recommended)
Or Change the code in "Vanish" to return false so the conflict stops (I would recommend)
Or the alternative option removed the code in either plugin

BadLandPVE

Posted

On 10/18/2024 at 8:45 AM, Xray said:

There is another plugin "Vanish" calling the hook "OnPlayerViolation" that insists on triggering the violation the player makes

Either change the code in AdminToggle to also return "true" (Not recommended)
Or Change the code in "Vanish" to return false so the conflict stops (I would recommend)
Or the alternative option removed the code in either plugin

can you tell me please witch line i need change?

 

Xray

Posted

On 11/7/2024 at 10:09 PM, BadLandPVE said:

can you tell me please witch line i need change?

 

In vanish plugin its line 669
Change 
 

private object? OnPlayerViolation(BasePlayer player, AntiHackType type, float amount) => IsInvisible(player) ? (object)true : null;

To
 

private object? OnPlayerViolation(BasePlayer player, AntiHackType type, float amount) => IsInvisible(player) ? (object)false : null;



Or in admin toggle image.png.1e64c2ab33ba2c46aeea59b8ea91f242.png
Change this line from return false; to return true;

BadLandPVE

Posted (edited)

done. thank you very much!

i changed like you recommended me, vanish line.

Edited by BadLandPVE

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.