LimitedPossessions | LIMIT AND BAN ITEMS | GUI EDITOR icon

LimitedPossessions | LIMIT AND BAN ITEMS | GUI EDITOR -----

Limit and Ban Items, Potions, and Enchantments!



LimitedPossessions uses a framework called Foundation , This framework was not developed by me or anyone involved with LimitedPossessions
[​IMG]

What is LimitedPossessions?
Limited Possessions is a powerful easy to use Item Restriction plugin. This plugin uses an in-game GUI editor to limit items, potions, and ban enchantments! There are also easy to use commands to set limits!


Images
[​IMG]

About

Limited Possessions allows you to limit and ban any item or potion, as well as ban any enchantment. There are three ways to edit limits and bans.
First of all through the config.yml file, you can set limits and bans by using the instructions in the config.
Second, there is a in-game
GUI editor, which allows you to use a GUI to set limits and bans.
Finally you can use the command
/limpos, which allows you to set limits and bans directly from chat.



Features
  • As said previously there are three ways to edit bans and limits, using commands, GUI editor, or the config.yml
  • In the config.yml you can edit what happens when a player obtains a banned item or hits an item limit, such as, deleting the item, dropping the item, sending an action-bar or chat message, or playing a sound.
  • The config.yml also allows you to change messages from the plugin, aswell as changing the GUI editor titles, and items
  • You can give players the
    limitedpossessions.limit.bypass permission to allow them to bypass all item, potion, and enchantment bans and limits.
Commands
all commands use /limpos or /limitedpossessions, the permission needed is
limitedpossessions.command.primary
  • /limpos reload - reload config.yml file
  • /limpos editor - open in-game GUI editor for limits and bans
  • /limpos limit list - get a list of all limited items and their limits
  • /limpos limit set <limit> - set the limit of the item or potion in your hand
  • /limpos limit check - get the limit of the item or potion in your hand
  • /limpos limit remove - remove the limit of the item or potion in your hand
  • /limpos ban list - get a list of all the banned items, potions, or enchantments
  • /limpos ban add - ban any item, potion, or enchantment in your hand
  • /limpos ban check - check whether the item, potion, or enchantment in your hand is banned or not
  • /limpos ban remove - remove any ban from any item, potion, or enchantment in your hand
Config
Code (YAML):
#=============================================
#LIMITED POSSESSIONS config.yml
#LIMITED POSSESSIONS USES A FRAMEWORK CALLED Foundation: https://github.com/kangarko/Foundation
#=============================================

#CHATCOLOR CODES:
#&1 = DARK BLUE
#&2 = GREEN
#&3 = DARK CYAN
#&4 = RED
#&5 = PURPLE
#&6 = GOLD
#&7 = LIGHT GRAY
#&8 = GRAY
#&9 = BLUE
#&c = LIGHT RED
#&e = YELLOW
#&b = LIGHT BLUE
#&d = PINK
#&f = WHITE

#&k = OBFUSCATED/MAGIC (scrolls through random symbols making it unreadable)
#&l = BOLD
#&m = STRIKE THROUGH
#&n = UNDERLINE
#&o = ITALIC
#&r = RESET

#chat color formatters are used after the chatcolor! EXAMPLE (Blue Bold): &1&lThis message is blue and bold


#=============================================
#MESSAGE CONFIGURATION
#=============================================

plugin-prefix
: "&aLimited Possessions &b>> &f" #USE THIS IN ANY MESSAGE WITH {prefix}

reload-configuration
: "{prefix} Configuration has been reloaded!"

set-limit
: "{prefix} Type new Limit in chat! Use '-1' to remove the limit!"

#/limpos limit MESSAGES
cmd-limit-set-hand-none
: "{prefix} &cNo item found in hand!"
cmd-limit-set-hand-enchant
: "{prefix} &cYou cannot set enchantment limit, use /limpos ban &e(add/remove)&a!"

cmd-limit-check-hand-none
: "{prefix} &cNo item found in hand!"
cmd-limit-check-hand-enchant
: "{prefix} &cYou cannot check enchantment limit, use &e/limpos ban check&c!"

cmd-limit-remove-hand-none
: "{prefix} &cNo item found in hand!"
cmd-limit-remove-hand-enchant
: "{prefix} &cYou cannot remove enchantment limit, use &e/limpos ban remove&c!"

#/limpos (limit/ban) set MESSAGES
potion-limit-set
: "{prefix} You have set &b{potion} &flimit to &b{limit}"
item-limit-set
: "{prefix} You have set &b{item} &flimit to &b{limit}"
enchantment-ban-set
: "{prefix} You have banned &b{enchantment}"

#/limpos (limit/ban) check MESSAGES
potion-limit-check
: "{prefix} The limit of &b{potion}&f is &b{limit}"
item-limit-check
: "{prefix} The limit of &b{item}&f is &b{limit}"
enchantment-ban-check
: "{prefix} The ban of &b{enchantment} &fis &b{banned}"

#/limpos (limit/ban) remove MESSAGES
potion-limit-remove
: "{prefix} The limit of &b{potion}&f has been removed"
item-limit-remove
: "{prefix} The limit of &b{item}&f has been removed"
enchantment-ban-remove
: "{prefix} You have unbanned &b{enchantment}"



#=============================================
#ITEM LIMIT CONFIGURATION
#=============================================
#Limit Example: - 'ITEM:AMT', - 'ENCHANT:LVL', - 'POTION:LVL:AMT' (ENCHANTMENTS CAN ONLY BE BANNED)
#SET LIMIT TO '0' TO BAN IT

limit-action
: #What happens when a player reaches the limit of an item, enchantment, or potion (multiple can be enabled)
  action-bar
:
    enabled
: false
    message
: "You have reached the limit of {item}"
  sound
:
    enabled
: false
    sound
: 'ENTITY_VILLAGER_NO'
  chat-message
:
    enabled
: false
    message
: "{prefix} You have reached the limit of {item}"
  drop-item
: #IF FALSE ITEM WILL BE DELETED
    enabled
: true

#Whether you are able to limit op items or not (command_block, bedrock, barrier, etc.)
limit-op-items
: false



items
: #how many of limited items you can have at once
 - 'example:0'

enchantments
: #what enchantments are banned (ENCHANTMENT WILL BE REMOVED FROM THE ITEM)
  -  'example:1'

potions
: #how many potions with limited effects you can have at once
  - 'example:1:0'




#=============================================
#INVENTORY TITLE CONFIGURATION
#=============================================


#first inventory that opens from /limpos editor
inventory_1
:
  title
: "&aLimitedPossessions Editor"

#inventory that opens when you click Limited Items
inventory_2
:
  title
: "&bLimited Items &e"

#inventory that opens on the click of an item in inventory_2
inventory_3
:
  title
: "&cSet Limit"

#inventory that opens when you click Limited Potions
inventory_4
:
  title
: "&eLimited Potions"

#inventory that opens on the click of a potion in inventory_3
inventory_5
:
  title
: "&aSet Limit"

#inventory that opens when you click on Banned Enchantments
inventory_6
:
  title
: "&cBanned Enchantments &b"

#=============================================
#INVENTORY BUTTON CONFIGURATION
#=============================================

#Button to go to Limited Items menu
limited_items
:
  title
: "&bLimited Items"
  material
: 'BARRIER'
  lore
:
   - "&7Click to set item limits"

#Button to set an item/potion limit | USE {limit} TO GET ITEM LIMIT
set_limit
:
  title
: "&cSet Limit"
  material
: 'BARRIER'
  lore
:
   - "&7Click to set limit"
    - "&7Current Limit
: &e{limit}"
    - "&d&oUse '-1' for no limit"

#Button to go to Limited Potions menu
limited_potions
:
  title
: "&dLimited Potions"
  lore
:
   - "&7Click to set potion limits"

#Button to set potion upgraded/not | USE {upgraded} TO GET IF UPGRADED
set_upgraded
:
  title
: "&aSet Potion Upgraded"
  material
: 'EXPERIENCE_BOTTLE'
  lore
:
   - "&7Click to set if potion is upgraded or not"
    - "Upgraded
: &e{upgraded}"

#Button to show you cannot upgrade current potion
cannot_upgrade
:
  title
: "&cCannot Upgrade"
  material
: 'GRAY_DYE'
  lore
:
   - "&7This potion cannot be upgraded!"

#Button to go to Banned Enchantments menu
banned_enchantments
:
  title
: "&bBanned Enchantments"
  material
: 'ENCHANTED_BOOK'
  lore
:
   - "&7Click to set banned enchantments"

#Button to change if enchantment is banned or not | USE {enchant} TO GET CURRENT ENCHANTMENT | USE {banned} TO CHECK IF ENCHANT IS BANNED
set_enchantment
:
  title
: "&d{enchant}"
  lore
:
   - "&7Click to set if this enchant"
    - "&7is banned or not"
    - "&7Currently Banned
: &e{banned}"

 


Videos
Channel: WoodsGeorgeJr, Type: Showcase, Length: 5:52



Channel: GreenArrow99, Type: Showcase, Length: 5:23


[​IMG]

Installation
  • Download plugin and open your Downloads folder
  • Open you server plugins folder
  • Drag and drop the plugin file into the plugins folder
  • Restart your server DO NOT RUN /reload
  • Join into your server and enjoy!
  • If you find any bugs please report them on the discord server!

    Want a custom plugin? Visit Flexibyte Services!
Resource Information
Author:
----------
Total Downloads: 52
First Release: Aug 27, 2023
Last Update: Dec 13, 2023
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings