FunTraps – Customizable Cages

Плагин FunTraps – Customizable Cages 1.2.0

Создайте и подтвердите аккаунт для скачивания
Поддерживаемые версии
  1. 1.21
Ядра и Прокси
  1. Bukkit
  2. Spigot
  3. Paper
Минимальная версия Java
21
FunTraps – Customizable Cages
Full region and protection support for Spigot/Paper 1.21+



Description
FunTraps is a lightweight plugin that allows server administrators to create and manage customizable traps. These traps can take the form of cages or prisons built from custom block structures, enhanced with potion effects, and managed through a robust skin system.

The plugin features full integration with WorldGuard and ProtectionStones, ensuring that tactical gameplay remains fair and respects server claims.



Features
  • Core Systems
    • Selection tool (Golden Axe) to define custom trap areas.
    • Configurable cage skins via config.yml.
    • Support for both infinite and time-limited potion effects.
  • Protection Integration
    • WorldGuard: Restrict traps in specific worlds or regions; whitelist permitted areas.
    • ProtectionStones: Limit trap usage to region owners or members.
  • Advanced Mechanics
    • MySQL & FlatFile Support: Choose your preferred data storage system.
    • Usage & Durability System: Control how many times a player can use a specific trap.
    • Intelligent trap center calculation during the saving process.
    • Block filter system to protect materials like Barrier, Bedrock, and Dispensers.
    • Safe restoration of container contents (chests, hoppers) and spawner settings.



Commands
Admin Commands (funtraps.admin)
  • /trap give <player|all> <amount> – Distribute trap activation items.
  • /trap giveuses <player> <skin> <amount> – Add uses to a player's specific trap skin.
  • /trap takeuses <player> <skin> <amount> – Remove uses from a player's trap skin.
  • /trap setuses <player> <skin> <amount> – Set the exact number of uses for a player.
  • /trap profile <player> – View a detailed profile of a player's trap statistics.
  • /trap tool – Obtain the selection tool (Golden Axe).
  • /trap save <name> – Save a structure with smart center calculation.
  • /trap delete <skin> – Remove a saved structure.
  • /trap rename <old> <new> – Rename an existing trap structure.
  • /trap remove <player|all> – Force-remove active traps from the world.
  • /trap reload – Reload all configuration and language files.

Player Commands (funtraps.user)
  • /trap skin <name> – Select your active trap skin.
  • /trap skins – List all available skins and remaining uses.



Permissions
  • funtraps.admin – Full access to all administrative commands.
  • funtraps.user – Basic access to select and view owned skins.
  • funtraps.skin.<name> – Permission to use a specific trap skin.
  • funtraps.skin.* – Grants access to all available skins.



Configuration Example
YAML:
# ###########################################################
#                        SKINS CONFIG                      #
# ###########################################################
skins:
  default:
    # ================================
    # BossBar for this skin only
    # ================================
    # Use {time} in the text to display the remaining time dynamically.
    bossbar:
      enabled: true
      text: "&5⏳ Trap Active! {time}s"
      color: PURPLE
    duration: 15 # Trap duration with this skin (in seconds)
    cooldown: 15 # Trap cooldown with this skin (in seconds)
    animation: sphere # Animation type: "sphere", more coming soon...

    # ================================
    # Item cooldowns inside the trap
    # ================================
    item-cooldowns:
      ENDER_PEARL: 8 # seconds
      CHORUS_FRUIT: 12
      ENCHANTED_GOLDEN_APPLE: 30
      GOLDEN_APPLE: 15
      TOTEM_OF_UNDYING: 30
      ELYTRA: 15
      # You can continue adding more items to the list.

    # ================================
    # Sounds when placing/removing
    # ================================
    sounds:
      place:
        - name: minecraft:ui.toast.challenge_complete
          volume: 1.0
          pitch: 1.0
          range: 24
          category: master
        - name: minecraft:entity.wither.break_block
          volume: 1.0
          pitch: 1.0
          range: 24
          category: master
      remove:
        - name: minecraft:block.beacon.power_select
          volume: 1.0
          pitch: 1.0
          range: 24
          category: master
        - name: minecraft:block.end_portal.spawn
          volume: 1.0
          pitch: 1.0
          range: 24
          category: master
    # ───────────────────────────────
    # Available sound categories:
    # ───────────────────────────────
    # master       → Controls all sounds globally.
    # music        → Background music.
    # record       → Music discs.
    # weather      → Rain, thunder, etc.
    # block        → Block sounds (breaking, placing, doors, pistons...).
    # hostile      → Hostile mobs (zombies, skeletons, creepers...).
    # neutral      → Passive mobs (cows, pigs, villagers...).
    # player       → Player sounds (steps, damage, burping, etc).
    # ambient      → Ambient sounds (cave sounds, nether ambiance).
    # voice        → Player voice (reserved for chat systems).

    # ================================
    # Trap Effects
    # ================================
    effects:
      # Effects applied to the trap owner
      self:
        - type: STRENGTH
          amplifier: 2
          duration: 10 # seconds
        - type: GLOWING
          amplifier: 0
          duration: -1 # Infinite until the trap ends
      # Effects applied to trapped enemies
      enemies:
        - type: SLOWNESS
          amplifier: 1
          duration: 10
        - type: GLOWING
          amplifier: 0
          duration: -1



Important Notice (Action Required)
Backup & Reset: Due to structural changes in data storage and the new configuration format in v1.2.0, it is mandatory to secure a backup of your current FunTraps folder.

To ensure compatibility:
1. Save a backup of your existing folder.
2. Delete the old configuration and data files (config.yml, data.yml, etc.).
3. Allow the plugin to generate fresh, updated files on the first startup.
Команды и права
:,3
  • Captura de pantalla 2025-12-23 002021.png
    Captura de pantalla 2025-12-23 002021.png
    268.3 KB · Просмотры: 20
Автор
Keraune
Скачивания
82
Просмотры
1 408
Первый выпуск
Обновление
Оценка
5.00 звёзд 4 оценок

Поделиться ресурсом

Последние обновления

  1. FunTraps-v1.2.0

    FunTraps v1.2.0 — New Update Major New Features Database Support MySQL Integration: Optional...
  2. FunTraps-v1.1.1

    FunTraps v1.1.1 — Release Notes Fixes & Improvements Stability Boost Fixed several minor...
  3. FunTraps-v1.1.0

    FunTraps v1.1.0 — Release Notes New Features Block Filter System Added "blocked-materials"...

Последние рецензии

самый лучший плагин трапок на 1.21.8 спасибо создавай больше
Keraune
Keraune
Спасибо :3
Fantastic, Bro Can You Do FunEnchants Plugin Please Bro!
Keraune
Keraune
Are you referring to the enchantments they use on the Funtime server? I'd like to play on that server, but I don't understand the language.
There's a bug where when you activate the rag, resources from chests, hoppers, and so on may disappear. Please fix this. I won't give it a bad rating. The plugin itself is awesome, but there are some bugs that need to be fixed.
Keraune
Keraune
Fixed! I'll post a new update soon.
If you find any bugs, you can report them on my Discord: https://discord.gg/Fk3Ce3eSfm
WOOOOOOW BRO, THANK YOU SO MUCH))))) ITS IDEAL. I Search Much Plugins, This is the best one
Keraune
Keraune
Thank you very much! :D
Назад
Сверху Снизу