Перейти к содержимому
Mineforgian

Simple Items Perms

Simple Items Perms is a powerful and intuitive plugin that allows you to assign specific permissions

Загрузки
82
Подписчики
1
Обновлён
24 ноября 2025 г.
Лицензия
MIT

Опубликован 22 ноября 2025 г.

SimpleItemsPerms

Version Minecraft

The Ultimate Permission System for Minecraft Items


📖 What This Plugin Does

SimpleItemsPerms allows you to assign specific permissions to individual items in your Minecraft server. When you give an item a permission requirement, only players with that permission can use it - everyone else will be blocked with a customizable message.

Example: Create a Diamond Sword that requires simpleitemsperms.vip permission. Players without VIP rank cannot attack with it, equip it, or even pick it up. Perfect for exclusive donor rewards!


🎯 Why Download This Plugin?

Perfect for servers with:

  • VIP/Donor Perks - Give exclusive items to paying supporters
  • Rank Progression - Lock powerful items behind rank requirements
  • Custom Kits - Create Elite, MVIP, or Admin-only kit items
  • Economy Shops - Sell premium items that require special permissions
  • Event Rewards - Give special items that only event winners can use

Key advantages:

  • Easy to use - Intuitive GUI, no complex commands
  • 🌍 Fully translated - English and Italian included, add your own language
  • 🔒 Persistent - Permissions survive server restarts and world changes
  • 🎨 Customizable - Configure every message, sound, and behavior
  • 📊 Professional - Item registry, statistics tracking, and management tools

⚠️ Important Information Before Downloading

Requirements:

  • Server-side only plugin - Does NOT work on client, must be installed on server
  • Permission plugin required - You need LuckPerms, PermissionsEx, or similar
  • Minecraft 1.21+ - Compatible with Spigot, Paper, Purpur, Pufferfish
  • Java 21+ - Required for modern Minecraft versions

Limitations:

  • ⚠️ Placed blocks lose permissions - When you place a block, Minecraft removes all NBT data (this affects ALL plugins, not just ours). Permissions work perfectly for weapons, armor, tools, food, and potions.

How it works:

  1. Permissions are stored in item NBT data (PersistentDataContainer)
  2. The plugin checks permissions on 8+ different events (use, equip, consume, etc.)
  3. Players without permission see a customizable lore message on the item
  4. Admins can manage all registered items through an easy GUI

🌟 Key Features

🔐 Advanced Permission System

  • Item-Specific Permissions - Assign unique permissions to any item
  • Automatic Permission Checks - Players without permission cannot use restricted items
  • Visual Feedback - Custom lore shows permission status
  • Dynamic Lore - Hide permission lore from players who have the permission
  • Persistent Storage - Permissions stored in item NBT data (survives server restarts)

🎨 Intuitive GUI System

  • Easy-to-Use Interface - Assign permissions through a beautiful GUI
  • Drag & Drop - Simply place items in the GUI to assign permissions
  • Visual Confirmation - Green confirm and red cancel buttons
  • Fully Customizable - Configure GUI size, materials, and colors
  • Real-Time Updates - See changes immediately

🌍 Multi-Language Support

  • Bilingual System - Full English and Italian translations
  • Language Files - Easy to translate to any language
  • Dynamic Switching - Change language with /sip reload
  • Fully Translated - GUI, commands, messages, and lore
  • No Hardcoded Strings - Everything is translatable

📊 Item Registry & Management

  • Global Item Registry - Track all items with permissions
  • Detailed Information - View item details, creator, and usage statistics
  • Browse Interface - Paginated list of all registered items
  • Item Details GUI - See enchantments, lore, and metadata
  • Easy Deletion - Remove items from registry with one click

🛡️ Comprehensive Event Blocking

  • Use Items - Block right/left click usage
  • Equip Armor - Prevent wearing restricted armor
  • Consume Items - Block eating/drinking
  • Drop/Pickup - Control item transfer
  • Move Inventory - Prevent inventory manipulation
  • Break/Place Blocks - Control block interactions
  • Attack Entities - Restrict combat usage
  • Shoot Projectiles - Block bow/crossbow usage

⚙️ Advanced Configuration

  • Customizable Lore - Define permission denial message
  • Lore Position - Choose start or end position
  • Sound Effects - Custom sounds when actions are blocked
  • Event Toggle - Enable/disable specific event checks
  • Debug Mode - Detailed logging for troubleshooting

📈 bStats Integration

  • Anonymous Statistics - Help improve the plugin
  • Custom Charts - Track total items with permissions
  • Embedded System - No conflicts with other plugins
  • Privacy Focused - Fully compliant with privacy standards

📋 Commands

Command Description Permission
/sip gui Open the GUI to assign permissions to items simpleitemsperms.admin
/sip give <player> <permission> Give the item in your hand with a permission to a player simpleitemsperms.admin
/sip remove Remove the permission from the item in your hand simpleitemsperms.admin
/sip check Check if the item in your hand has a permission simpleitemsperms.admin
/sip list Open the GUI to browse all registered items simpleitemsperms.admin
/sip reload Reload the configuration and language files simpleitemsperms.admin
/sip info Display plugin information and commands simpleitemsperms.admin

Command Aliases: /simpleitemsperms, /itemsperms


🔑 Permissions

Permission Node Description Default
simpleitemsperms.admin Access to all plugin commands and features OP only
simpleitemsperms.<custom> Permission required to use items assigned with <custom> False

📝 Permission Examples

# Grant a player access to VIP items
/lp user PlayerName permission set simpleitemsperms.vip true

# Grant a group access to Elite items
/lp group elite permission set simpleitemsperms.elite true

# Multiple permission levels
simpleitemsperms.vip       - Basic VIP items
simpleitemsperms.mvip      - More VIP items
simpleitemsperms.elite     - Elite exclusive items
simpleitemsperms.admin     - Admin-only items

🎓 How to Use

Method 1: Using the GUI (Recommended)

  1. Run command: /sip gui
  2. Place items you want to restrict in the GUI
  3. Click the green CONFIRM button
  4. Type the permission name in chat (e.g., vip)
  5. Done! Items now require permission simpleitemsperms.vip

Method 2: Using Commands

  1. Hold the item in your hand
  2. Run: /sip give <player> <permission>
  3. The item will be given to the player with the permission requirement

💡 Pro Tips

  • Use descriptive permission names like vip, mvip, elite
  • Group related items with the same permission
  • Set hide-for-permitted-players: true to hide lore from players who can use the item
  • Use /sip list to manage all your restricted items
  • Check /sip check to verify item permissions

⚙️ Configuration

Click to view config.yml
# ╔═══════════════════════════════════════════════════════════════╗
# ║              SimpleItemsPerms - Configuration                 ║
# ║          Developed with ❤ by AlessioGTAII                    ║
# ╚═══════════════════════════════════════════════════════════════╝

# Language / Lingua
# Supported languages: en_US (English), it_IT (Italiano)
language: "en_US"

# Message prefix
prefix: "&8[&6SimpleItemsPerms&8]&r"

# GUI Configuration
gui:
  title: "&6Assign Permission to Items"
  size: 54
  
  confirm-button:
    slot: 49
    material: LIME_CONCRETE
    name: "&a&lCONFIRM"
    lore:
      - "&7Click to confirm"
      - "&7permission assignment"
  
  cancel-button:
    slot: 53
    material: RED_CONCRETE
    name: "&c&lCANCEL"
    lore:
      - "&7Click to cancel"
      - "&7and close the GUI"

# Lore Configuration
lore:
  hide-for-permitted-players: true
  position: "end"

# Events to block for players without permission
blocked-events:
  use-item: true
  equip-armor: true
  consume: true
  drop: false
  pickup: true
  move-inventory: true
  break-block: true
  place-block: true
  attack: true
  shoot-bow: true

# Sound played when an action is blocked
block-sound:
  enabled: true
  sound: "ENTITY_VILLAGER_NO"
  volume: 1.0
  pitch: 1.0

# Debug system
debug: false

🌍 Language Files

Language files are located in plugins/SimpleItemsPerms/lang/

  • messages_en_US.yml - English translations
  • messages_it_IT.yml - Italian translations

Want to add your language? Copy an existing file, translate it, and send it to us!


❓ FAQ

How do I create VIP-only items?
  1. Run /sip gui
  2. Place your VIP items in the GUI
  3. Click confirm and type vip
  4. Give your VIP players the permission: simpleitemsperms.vip
  5. Only players with this permission can use those items!
What happens if a player without permission tries to use a restricted item?

The action will be blocked and the player will receive a message explaining they need the permission. A sound effect will play (configurable) to give clear feedback.

Can I use this with LuckPerms/PermissionsEx?

Yes! SimpleItemsPerms works with any permission plugin that implements the Bukkit/Spigot permission system.

Does this work with custom items from other plugins?

Yes! SimpleItemsPerms works with:

  • Vanilla Minecraft items
  • Custom items from ItemsAdder, Oraxen, etc.
  • Items with custom names/lore
  • Enchanted items
  • Items with custom NBT data
If I change the language, do existing items update?

No. The lore is saved when you create the item. Only new items will have the new language. However, permissions always work regardless of lore language.

Do permissions persist after server restarts?

Yes! Permissions are stored in the item's NBT data and will survive:

  • Server restarts
  • Plugin reloads
  • World changes
  • Item trades between players
What about placeable blocks?

When you place a block, Minecraft removes all NBT data. This is normal behavior affecting all plugins.

Perfect for: Weapons, armor, tools, food, potions Not recommended for: Placeable blocks


🔧 Compatibility

✅ Tested & Compatible:

  • Minecraft: 1.21, 1.21.1, 1.21.3+
  • Server: Spigot, Paper, Purpur, Pufferfish
  • Java: 21+
  • Permissions: LuckPerms, PermissionsEx, GroupManager
  • Custom Items: ItemsAdder, Oraxen, MMOItems
  • Kits: EssentialsX, KitsPvP, AdvancedKits

⚠️ Known Issues:

  • None currently reported!

💾 Installation

📥 Installation Steps:

  1. Download SimpleItemsPerms-1.1.0.jar
  2. Place in your plugins/ folder
  3. Restart your server
  4. Configure plugins/SimpleItemsPerms/config.yml (optional)
  5. Use /sip gui to get started!

⚠️ Requirements:

  • Minecraft 1.21+ server (Spigot/Paper)
  • Java 21 or higher
  • Permission plugin (LuckPerms recommended)

📝 License

This plugin is released under the MIT License.


Developed with ❤️ by AlessioGTAII

SimpleItemsPerms v1.1.1 - © 2025

Made with Love Status

Ченджлог

1.1.1Релиз1.21.8, 1.21.9, 1.21.10 · 24 ноября 2025 г.

🔥 HOTFIX v1.1.1

CRITICAL BUGFIX — UPDATE REQUIRED

Release Date: November 23, 2025


⚠️ What Was Fixed

A critical issue involving permission-based lore visibility has been resolved.

❗ The Problem

When assigning a permission to an item, the plugin showed the lore:

✘ You don't have permission to use this

However, even players who DID have the required permission were still able to see this warning.
The lore was not being correctly hidden.

🛑 Why It Happened

The plugin compared the lore text using an exact string match, including all color codes.
This caused mismatches whenever:

  • an item was created with a specific lore message
  • later, that message was changed inside the language file

Because of this, the check failed:

savedLore ≠ updatedLore


✔️ What’s Fixed

  • ✓ Dynamic lore system now functions correctly
  • ✓ Lore automatically hides for players who have the required permission
  • ✓ Fully compatible with items created in v1.0.0 and v1.1.0
  • ✓ Comparison now ignores color formatting
  • ✓ The hide-for-permitted-players option now works as intended
  • ✓ Updating the lore text in language files no longer breaks the system

📦 Recommended Update

This hotfix addresses a core logic flaw affecting player experience and permission consistency.
Updating is strongly recommended for all servers.

1.1.0Релиз1.21.8, 1.21.9, 1.21.10 · 22 ноября 2025 г.

SimpleItemsPerms

Version Minecraft

The Ultimate Permission System for Minecraft Items


SimpleItemsPerms v1.1.0

Release Date: November 22, 2025

This is a major update that brings multi-language support, advanced item management, and numerous improvements!


✨ New Features

🌍 Complete Multi-Language System

  • Added full English and Italian translations
  • Language files system in plugins/SimpleItemsPerms/lang/
  • All GUI elements, commands, and messages are now translatable
  • Dynamic language switching with /sip reload - no restart needed!
  • Zero hardcoded strings - everything is customizable

📊 Item Registry & Management System

  • Global Item Registry - Track all items with permissions across the server
  • Item List GUI (/sip list) - Browse all registered items with pagination
  • Item Details GUI - View detailed information about each registered item
    • See creator, creation date, and usage statistics
    • View enchantments and custom lore
    • Delete items from registry with one click
  • Statistics tracking for how many times each item has been given

📈 bStats Integration

  • Added bStats metrics for anonymous usage statistics
  • Custom chart tracking total number of items with permissions
  • Embedded version to prevent conflicts with other plugins
  • Fully privacy-compliant and can be disabled

🔧 Improvements

🛠️ Core System Enhancements

  • Fixed items without ItemMeta - Vanilla items (pickaxes, swords, etc.) without metadata now work correctly
  • Improved NBT data handling with better null-safety checks
  • Enhanced permission system with more robust validation
  • Optimized event listeners for better performance

🎨 GUI Improvements

  • All GUI titles and buttons now use language files
  • Button names and lore are fully translatable
  • Improved visual feedback with better color coding
  • More intuitive navigation between different GUIs

💬 Chat System Overhaul

  • All chat prompts now support translations
  • Interactive click components are language-aware
  • Improved error messages with more context
  • Better permission denial feedback

⚙️ Configuration Updates

  • Simplified config.yml structure
  • Lore text moved to language files for better translation support
  • Added comments explaining all configuration options
  • Language file auto-extraction on first startup

🐛 Bug Fixes

  • Fixed: Items without ItemMeta (vanilla items) causing errors
  • Fixed: bStats initialization conflicts with other plugins
  • Fixed: Language files not being created on first run
  • Fixed: GUI button labels remaining in default language
  • Fixed: Lore text not updating when changing language
  • Fixed: Permission validation accepting invalid characters
  • Fixed: Memory leak in item registry system

📦 Technical Details

Added Files

  • lang/messages_en_US.yml - English language file
  • lang/messages_it_IT.yml - Italian language file
  • it/alessiogta/simpleItemsPerms/metrics/Metrics.java - Embedded bStats
  • it/alessiogta/simpleItemsPerms/gui/ItemsListGUI.java - Items list interface
  • it/alessiogta/simpleItemsPerms/gui/ItemDetailsGUI.java - Item details interface

Changed Files

  • SimpleItemsPerms.java - Added language file extraction and bStats initialization
  • MessageManager.java - Added support for language files and lists
  • ConfigManager.java - Updated to use MessageManager for translatable text
  • PermissionGUI.java - Fully integrated with language system
  • All listener classes updated for better error handling

Dependencies

  • No external dependencies required
  • bStats is embedded (no separate download needed)
  • Compatible with all permission plugins (LuckPerms, PermissionsEx, etc.)

🎯 Compatibility

  • Minecraft: 1.21, 1.21.1, 1.21.3+
  • Server Software: Spigot, Paper, Purpur, Pufferfish
  • Java Version: Java 21+
  • API Version: 1.21+

📊 Statistics

  • Lines of Code Added: ~2,500
  • Translation Keys: 100+ (50+ per language)
  • New Commands: 1 (/sip list)
  • New GUI Screens: 2 (List & Details)
  • Bug Fixes: 7 major issues resolved

🔄 Migration Notes

Updating from v1.0.0

  1. Backup your data - Always backup before updating!
  2. Stop your server
  3. Replace the JAR - Delete old version, add new version
  4. Start the server - Language files will be created automatically
  5. Review config.yml - Some options have been moved to language files
  6. Test permissions - Existing items will continue to work without changes

Configuration Changes

The lore.no-permission-text option has been moved from config.yml to language files:

  • Before: config.ymllore.no-permission-text
  • After: lang/messages_XX_XX.ymllore-no-permission

Your old items will continue to work! Only new items will use the updated lore.


🌟 What's Next?

Planned for v1.2.0

  • 🔔 Update Checker - Automatic notification when new versions are available
  • 🎨 Custom GUI Themes - Predefined color schemes
  • 📝 Permission Templates - Save and reuse permission configurations
  • 🔄 Bulk Operations - Assign permissions to multiple items at once
  • 🌐 More Languages - Community-contributed translations

💝 Credits

  • Developer: AlessioGTAII
  • Testing: Community testers
  • Translations:
    • 🇬🇧 English: AlessioGTAII
    • 🇮🇹 Italian: AlessioGTAII
  • Special Thanks: All users who provided feedback!

Thank you for using SimpleItemsPerms! ❤️

Developed with ❤️ by AlessioGTAII

Комментарии

Загружаем…