Recycle allows players to recycle items into their resources.
Removes an NPC from the NPC list
Checks if an entity is a recycler managed by Recycler.
Checks if a player can safely open a recycler.
Checks if the player is current on cooldown from using the recycler.
Forcefully opens a recycler for the player
!! No checks are done, including calling the hook !!
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- recycle.use -- Allows players to use the recycler
- recycle.admin -- Allows players to destroy all recyclers or dropped bags currently created by Recycle
- recycle.bypass -- Allows players to bypass the cooldown of recycling
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.- recycle -- Opens a recycler, can be configured
- recycle reloadconfig -- Reloads the configuration file
- purgerecyclers -- Destroys all recyclers and drops their contents to a locked bag at the owner's position
- purgebags -- Destroys all bags created by Recycle
Configuration
The settings and options can be configured in the Recycle file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.For Developers
Hooks
Invoked when checking if a recycler is safe to open.API Calls
Adds an NPC to the NPC listRemoves an NPC from the NPC list
Checks if an entity is a recycler managed by Recycler.
Checks if a player can safely open a recycler.
Checks if the player is current on cooldown from using the recycler.
Forcefully opens a recycler for the player
!! No checks are done, including calling the hook !!