🎄 Holiday Sale is live — 30% off all plugins 🎅 Loading…
No Harvest Junk

No Harvest Junk 1.0.0

Sign in to download
Prevents unwanted junk items (grubs, worms, seeds) from being given when harvesting growables
This plugin eliminates the frustration of receiving unwanted junk items like grubs, worms, and seeds when harvesting plants and crops. Each player can independently toggle the junk filter, and server admins can customize which items are considered "junk" for their server.

Permissions

  • noharvestjunk.use -- Allows players to toggle the harvest junk filter. Players without this permission cannot use the filter command.

Commands

  • /nhj -- Toggles the harvest junk filter on or off for the executing player.

Configuration

JSON:
{
  "Version": "1.0.0",
  "Chat Command": "nhj",
  "Blocked Items (shortnames)": [
    "grub",
    "worm",
    "seed.hemp",
    "seed.corn",
    "seed.potato",
    "seed.pumpkin",
    "seed.berry.blue",
    "seed.berry.green",
    "seed.berry.red",
    "seed.berry.white",
    "seed.berry.yellow"
  ],
  "Default Enabled For New Players": true,
  "Show Blocked Message": true,
  "Use Toast Notification (false = chat message)": true
}
  • Chat Command -- The command players use to toggle the filter (without the slash).
  • Default Enabled For New Players -- Whether the filter is enabled by default for players who have never toggled it. Set to false if you want filters disabled by default.
  • Show Blocked Message -- Display a notification to the player when a junk item is blocked. Set to false to block items silently.
  • Use Toast Notification (false = chat message) -- Use in-game toast notifications instead of chat messages. Toast notifications appear as pop-ups; chat messages appear in the chat box.
  • Blocked Items (shortnames) -- List of item shortnames that are prevented from being harvested when the filter is enabled. Use the item's in-game shortname (e.g., "grub", "seed.hemp"). Add or remove items as needed for your server.

Stored Data

JSON:
{
  "Player Preferences": {
    "76561198012345678": true,
    "76561198087654321": false
  }
}
Each player ID maps to true (filter enabled) or false (filter disabled).

Localization

JSON:
{
  "Error.NoPermission": "You do not have permission to use this command.",
  "Filter.Enabled": "Harvest junk filter <color=#8BC34A>enabled</color>. You will no longer receive junk items.",
  "Filter.Disabled": "Harvest junk filter <color=#F44336>disabled</color>. You will now receive all harvest items.",
  "Item.Blocked": "Blocked: {0}"
}
Author
VisEntities
Downloads
2
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

  • NPC Rotator
    NPC Rotator
    Lets you rotate npcs to face a specific direction using a hammer
  • Better Healing
    Better Healing
    Change how food and medical items affect players
  • Offline Raid Shield
    Offline Raid Shield
    Protects player bases while they're offline with timed shields
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart