Jump to content

gir.toggle

Closed 1.4.1 1.4.2

MrLiquid

Posted

When mods use /girtoggle, yes it turns off the retrieve for that mod, but when you run the command again, does not re enable it.

21mac21

Posted

On 3/8/2025 at 11:06 PM, MrLiquid said:

When mods use /girtoggle, yes it turns off the retrieve for that mod, but when you run the command again, does not re enable it.

Thanks for reporting this bug.
The problem was... my head.
When an admin grants the permission to a group (like "Default"), it does not matter if the PLAYER has the permission or not (which was done when you used gir.toggle),
since the permission was still inherited by the group.

I just updated the plugin and updated the plugins description on the codefling page.

The combined logic is now:
- when a user has no permission (does not matter if inherited from a group or given to the player directly), no item will be retrieved.
- when the user has the permission, the file "ExcludedPlayers.json" in the plugins data folder will be checked. If the player (who dropped an item) is contained: the item will not be retrieved, otherwise it will.
When a player used "/gir.toggle", his steamID will be added/removed from the json file.

Also, have a look at the changelog i added for version 1.4.2

21mac21

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.4.2

1.8m

Downloads

Total number of downloads.

8.1k

Customers

Total customers served.

123k

Files Sold

Total number of files sold.

2.5m

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.