M0-SafeCreative [1.13 - 1.19] icon

M0-SafeCreative [1.13 - 1.19] -----

A server owners dream to make limited creative as safe as possible.



[​IMG]
[​IMG]

A highly configurable creative mode limiter.

It works by applying a specific creative tag to clicked or interacted items while in creative mode.

Once you enter a different game-mode - the items get instantly destroyed, meaning they cannot be used in survival mode.

You can test out the plugin on my dev server:
mc.m0-dev.live


_________________________________________________


# FEATURES


• Prevent container breaking survival/creative in defined worlds;
• Prevent container opening, which includes enchant tables, anvils, shulker boxes, dispensers, droppers, etc., in survival/creative in defined worlds;
• Prevent item pickup in survival/creative in defined worlds;
• Prevent potion throwing in survival/creative in defined worlds;
• Prevent item-drop in survival/creative in defined worlds;
• Prevent animal, monster or player damage in survival/creative in defined worlds;
• Prevent portal creation in survival/creative in defined worlds;
• Restrict specific items from being taken in the creative mode;
• Prevent switching to creative or survival mode while having items in inventory;
• Prevent survival mode players breaking blocks placed in creative mode;
• Prevent creative mode players from flying in defined worlds;
• Staff bypass permission;
• Bypass permissions for each and every prevention;

_________________________________________________


# ABOUT


COMMAND USAGE
/safecreative reload - reload configuration files.
/safecreative toggle - toggles all protections on and off. Be careful using this command.
/safecreative on - turns on all the protections;
/safecreative off - turns off all the protections;

ALIASES
/safecreative - /safecr


PERMISSIONS
safecreative.use - permission to use /safecreative command;
safecreative.command.reload - permission to use /safecreative reload command;
safecreative.bypass - bypasses all restrictions.


________________________________________________

# CONFIGURATION


Configuration is pretty simple and easy to understand.

Code (YAML):

messages
:
  no-permission
: "&cYou do not have permission to do this!"
  player-not-found
: "&cPlayer not found."
  reloaded
: "&aSuccessfully reloaded config."
  inventory-not-empty
: "&cYour inventory must be empty to switch to creative mode."

clear-effects-on-switch
: true # Clears all potion effects when switching gamemodes.

prevent
:
  # Prevents switching to creative mode if the player has items in their inventory.
  switch-creative-with-items
: true
  # Prevents switching to survival mode if the player has items in their inventory.
  switch-survival-with-items
: true
  # Prevents breaking containers.
  # Bypass permission: safecreative.bypass.container-break
  breaking-containers
:
    enabled
: true
    survival
: true # Prevents breaking containers in survival mode.
    creative
: true # Prevents breaking containers in creative mode.
    clear-contents-on-break
: true # Clears the contents of the container when broken.
    set-to-air
: true # Sets the container to air when broken.
    worlds
:
     - creative
  # Prevents item pickup.
  # Bypass permission: safecreative.bypass.item-pickup
  item-pickup
:
    enabled
: true
    creative
: true # Prevents item pickup in creative mode.
    survival
: true # Prevents item pickup in survival mode.
    adventure
: true # Prevents item pickup in adventure mode.
    tagged-items-only
: true # Whether to only prevent pickup of tagged items in survival mode.
    destroy
: true # Whether to destroy the item after attempting to pick it up.
    worlds
:
     - creative
  # Prevents potion throwing.
  # Bypass permission: safecreative.bypass.potion-throw
  potion-throw
:
    enabled
: true
    creative
: true # Prevents throwing potions in creative mode.
    survival
: true # Prevents throwing potions in survival mode.
    message
: "&cYou can't throw potions in here."
    worlds
: # Prevents throwing potions in these worlds.
      - creative
  # Prevents potion drinking.
  # Bypass permission: safecreative.bypass.potion-drink
  potion-drink
:
    enabled
: true
    creative
: true # Prevents throwing potions in creative mode.
    survival
: true # Prevents throwing potions in survival mode.
    message
: "&cYou can't drink potions in here."
    worlds
: # Prevents drinking potions in these worlds.
      - creative
  # Prevents item dropping.
  # Bypass permission: safecreative.bypass.bow-shoot
  bow-shoot
:
    enabled
: true
    creative
: true # Prevents shooting bows in creative mode.
    survival
: true # Prevents shooting bows in survival mode.
    crossbow
: true
    message
: "&cYou can't shoot bow here."
    worlds
: # Prevents shooting bows in these worlds.
      - creative
  # Prevents item dropping.
  # Bypass permission: safecreative.bypass.item-drop
  item-drop
:
    enabled
: true
    creative
: true # Prevents item drop while in creative mode.
    survival
: true # Prevents item drop while in survival mode.
    message
: "&cYou can't drop items here."
    worlds
: # Prevents item drop in these worlds.
      - creative
  # Prevents command execution.
  # Bypass permission: safecreative.bypass.command-execution
  command-execution
:
    enabled
: true
    creative
: true # Prevents command execution while in creative mode.
    survival
: true # Prevents command execution while in survival mode.
    message
: "&cYou can't use this command here."
    worlds
: # Prevents command execution in these worlds.
      - creative
    commands
:
      all
: false # Prevents all commands, whether they're listed or not.
      # If true (blacklist), it will only block the commands listed below.
      # Else, it will block all commands except the ones listed below.
      blacklist
: true
      list
:
       - '/auction'
  # Prevents portal creation.
  # Bypass permission: safecreative.bypass.portal-creation
  portal-creation
:
    enabled
: true
    creative
: true # Prevents creative players from creating portals.
    survival
: true # Prevents survival players from creating portals.
    message
: "&cYou can't create portals here."
    worlds
: # Prevents portal creation in these worlds.
      - creative
  # Prevents players from opening containers (chests, furnaces, anvils, etc.) in creative mode.
  # Bypass permission: safecreative.bypass.container-open
  opening-containers
:
    enabled
: true
    creative
: true
    survival
: true
    message
: "&cYou can't open containers here."
    worlds
:
     - creative
  # Prevents creative mode players from flying.
  # Will prevent all kind of attempts to fly.
  # Bypass permission: safecreative.bypass.fly
  fly
:
    enabled
: false
    message
: "&cYou can't fly in here."
    worlds
:
     - creative
  # Prevents players from interacting with item frames and armor stands.
  # Bypass permission: safecreative.bypass.interact-frame-armor-stand
  interact-frame-armor-stand
:
    enabled
: true
    creative
: true
    survival
: true
    message
: "&cYou can't interact with item frames and armor stands here."
    worlds
:
     - creative
  # Prevents players from damaging animals, mobs, and other players.
  # Bypass permission: safecreative.bypass.damage
  damage
:
    enabled
: true
    creative
: true
    survival
: true
    animals
: true
    mobs
: true
    players
: true
    message
: "&cYou can't damage entities here."
    worlds
:
     - creative
  survival-break-creative-placed
:
    enabled
: true
    message
: "&cYou can't break creative placed blocks in survival mode."
    worlds
:
     - creative
  # Prevents all kinds of entities (mobs, falling sand, item drops) from spawning and appearing in defined worlds.
  entity-spawn
:
    enabled
: true
    entities
:
      all
: true # Prevents all entities from spawning, whether they're listed or not.
      # If true (blacklist), it will only block the entities listed below.
      # Else, it will block all entities except the ones listed below.
      blacklist
: true
      # Entity names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
      list
: [ ]
    worlds
:
     - creative


# Prevents items from being taken in creative mode.
# Bypass permission: safecreative.bypass.item-restriction
restricted-items
:
  enabled
: true
  message
: "&cYou can't use this item in creative mode."
  list
:
 - BEACON
  - BEDROCK
  - OAK_BOAT
  - SPRUCE_BOAT
  - BIRCH_BOAT
  - JUNGLE_BOAT
  - ACACIA_BOAT
  - DARK_OAK_BOAT
  - TOTEM_OF_UNDYING
  - ENDER_CHEST
 
_________________________________________________

MY OTHER PLUGINS

CoreCord - CoreProtect integration for Discord.
ExtraEnchants - Simple additional enchantments for your server.
AntiAnvilRename - Prevent players from renaming certain items using anvils.
SimpleBombs - Customizable bombs for prison and other servers.
VenturaCalendar - In-game calendar with customizable events and much more.
OnlinePlayersGUI - Online players in a GUI. Filter by conditions, placeholders.

Resources from M0dii - all plugins.
_________________________________________________

Please leave a positive review if the plugin works as intended, if you have an issue contact me on discord provided or open an issue on github.
_________________________________________________

Buy me some coffee:

[​IMG]
Resource Information
Author:
----------
Total Downloads: 65
First Release: Jan 21, 2023
Last Update: Jan 21, 2023
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings