gettakaro / takaro

14 stars 4 forks source link

Implement a banned items module #1375

Closed niekcandaele closed 6 days ago

niekcandaele commented 1 week ago

Banned Items Module

Create a module that bans players who possess specified items that are not permitted as dev items.

Requirements

Implementation Steps

  1. Create a new module with a configuration option for the list of banned items
  2. Implement a hook that triggers on inventory changes or at regular intervals
  3. Write a function to check if a player's inventory contains any of the banned items
  4. If a banned item is found, execute the ban action on the player
  5. Add appropriate logging and notifications

Suggestions

Notes

This module will enhance server moderation capabilities and help maintain fair gameplay by preventing the use of unauthorized items.

niekcandaele commented 6 days ago

Dupelicate of #1028