Strict Creative icon

Strict Creative -----

Control the limits of the creative mode ( this plugin is very customizable )




Block Items From Being Retrieved Feature
────────────────────────────── | This feature is disabled by default
[ Added for JhordanPG ]

A new feature is added where you can block certain items from being retrieved in creative mode. If enabled, then any items on the blocked list will be removed upon trying to add it to an inventory, when in creative.

Two completely new configuration lines were added to the config:
| blocked-items-from-being-retrieved | Default values:
- BEDROCK
- SPAWN_EGG
- PLAYER_HEAD
- SKELETON_SKULL
- WITHER_SKELETON_SKULL
- DRAGON_EGG
|
blocked-items-enabled | Default value: false

In accordance to the new feature - if you already had a config file generated before this update and you would like to configure the new feature, then please regenerate your config file or add the following default lines on the bottom of your config file:
Code (YAML):
# Configuring creative inventory item retrieval [ -

# Blocks items from being retrieved from the creative inventory.
# This does not use item IDs but instead the material type name of the item, which allows compatibility with
# versions of MC that do not use item IDs anymore.
# Change the default item type names - so it is compatible with your version of Minecraft!
blocked-items-from-being-retrieved
:
 - BEDROCK
 - SPAWN_EGG
 - PLAYER_HEAD
 - SKELETON_SKULL
 - WITHER_SKELETON_SKULL
 - DRAGON_EGG

# Set value to true to enable the 'blocked-items-from-being-retrieved' feature.
blocked-items-enabled
: false

# - ]
If you find any bugs in this update - please enter the discussion and post some information about it - thanks!
I will try to fix any reported bug(s) as soon as possible.
----------, Feb 17, 2023

Removed Leftover Debugging Messages
─────────────────────────────
[ Thanks SharquishaOG for notifying me about this ]
There was some debugging messages being printed in the console when pistons were being activated. These messages are now removed.

If you find any bugs in this update - please enter the discussion and post some information about it - thanks!
I will try to fix any reported bug(s) as soon as possible.
----------, Jan 16, 2023

Small fix
───────

I overlooked an obvious mistake when switching from creative to survival, which led to the creative inventory not saving when entering into survival on some specific occasions. This should no longer be an issue.

If you find any bugs in this update - please enter the discussion and post some information about it - thanks!
I will try to fix any reported bug(s) as soon as possible.
----------, Jul 28, 2022

Inventory Switching
───────
Warning for when updating to this version:

Player names are longer used for saving and loading the inventories by default - UUID is used by default, but this can be changed in the config.

If you already have an existing config and want to use player names for the inventory switching when updating to this version, add the lines below to your config file:

Code (YAML):
# Configuring how player inventories are saved [ -

# If this is false, then player names will be used to save and load inventories.
use-uuids-for-inventory-switching
: false

# - ]

Previously only the survival inventory was saved when switching to creative mode, which meant that switching to creative will clear the inventory. This is no longer the case. Non creative and creative inventories are now saved separately.

There was a bug with the inventory switching before this update, which is now fixed.
Thanks to DARG367 for reporting the inventory switching issue.

Creative Block Drops Blocking
─────────────────────

Before this update, the creative placed blocks were not saving after a server restart, and pistons could mess with the detection of creative placed blocks. This is no longer the case. Blocks placed in creative will be saved in a file, and they will be updated when they are moved by pistons.

Thanks to Josh12rice for reporting the blocks not saving issue.

If you find any bugs in this update - please enter the discussion and post some information about it - thanks!
I will try to fix any reported bug(s) as soon as possible.
----------, Jul 28, 2022

Added features in 1.1-a
The ability to toggle item dropping for players that have a specific permission
[ Requested by lelesape ]

Added commands in 1.1-a
- /sc toggleid Toggle item dropping for players that have a specific permission

Added permissions in 1.1-a
strictcreative.toggleable.itemdrop

If item drop toggle is on and a player has this permission but doesn't have ( strictcreative.itemdrop.bypass ) they can still drop items in creative until it's toggled off

strictcreative.toggleable.itemdrop.toggle

This permission allow you to use /sc toggleid to toggle item drops for players in creative mode if they have the permission ( strictcreative.toggleable.itemdrop ) and they don't have ( strictcreative.itemdrop.bypass )

If you want to
enable, disable or customize the toggle messages you need to delete your old config.yml and use /reload or /sc reload after updating the plugin to 1.1-a or you could add these lines to your existing config.yml:
Code (YAML):
# Configuring item drop toggle messages [ -

# If this is true then the message defined in toggled-message will be sent to the player that toggled
# the item dropping.
send-toggled-message
: true

# You can use & color codes in this message.
# You can use <%toggle> to define if item drop toggle is on or off
toggled-message
: "&6| &f! &6| &fItem dropping has been turned <%toggle> for players that have the &6strictcreative.toggleable.itemdrop &fpermission &6!"

# If this is true then the messages defined in toggled-on-message and toggled-off-message will be sent
# to the players that have the permission ( strictcreative.toggleable.itemdrop ) whenever item dropping
# is toggled on and off.
send-toggled-message-to-players
: true

# You can use & color codes in this message.
toggled-on-message
: "&6| &f! &6| &fYou can now temporarily drop items in creative mode &6!"

# You can use & color codes in this message.
toggled-off-message
: "&6| &c! &6| &fYou can no longer drop items in creative mode &6!"

# - ]
----------, Sep 7, 2019

Resource Information
Author:
----------
Total Downloads: 952
First Release: Sep 7, 2019
Last Update: Feb 17, 2023
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings