COWMODSКаталог модов

gHub

gHub - Spawn, Welcome message, special item and more in one plugin

Автор: Gomania3892обновлён 10 июн. 2026 г.
Механики игрыОбщение

Описание

GHub — Hub Utilities Plugin for Minecraft

Version: 1.0 Compatible with: Paper 1.21.x

ProtocolLib
PlaceholderAPI (Optional)

GHub is a minimalist yet powerful plugin for managing spawn points, hub items, and player teleportation on a Minecraft server. It allows you to easily set up spawn, give special items, and supports placeholders via PlaceholderAPI.


🌟 Main Features

1. Spawn Setup

  • Players are automatically teleported to spawn when joining the server.
  • Supports spawn messages (welcome-spawn) with Minecraft colors.

Example command:

/ghub spawn

2. Hub Item

  • A configurable item given to players on join.

  • Supports:

    • Material (e.g., COMPASS)
    • Name and lore
    • Action on use (console or bungee)
  • Players cannot drop the item.

Example config.yml setup:

item:
  material: COMPASS
  slot: 4
  name: "&6Server Selector"
  lore:
    - "&7Click to choose a server"
  function: "[console] deluxemenus open selector %player_name%"

3. Item Functions

  1. Console Commands

    • Executed as console commands.
    • Supports placeholders (e.g., %player_name%).
    • If run from console without a player — a warning is shown.
  2. BungeeCord Teleport

    • Teleports the player to another server via BungeeCord.
    • Example: [bungee] lobby

4. Void Teleportation

  • Players who fall below a set height (VOID_HEIGHT = -60) are automatically teleported to spawn.
  • Cooldown for repeated teleportation: 3 seconds.

5. PlaceholderAPI Support

  • All standard PlaceholderAPI placeholders work in player messages.

Example:

messages:
  welcome-spawn: "Welcome, %player_name%!"
  • Console commands that rely on player placeholders are disabled to avoid errors.

6. Plugin Commands

CommandDescriptionPermission
/ghub reloadReload plugin configurationghub.reload
/ghub spawnSet the spawn pointghub.spawn

7. Configuration

  • All settings are in config.yml and spawn.yml.

  • Configurable options include:

    • Material, slot, and name of hub item
    • Player messages
    • Item functions

Example config.yml:

item:
  material: COMPASS
  slot: 4
  name: "&6Server Selector"
  lore:
    - "&7Click to choose a server"
  function: "[console] deluxemenus open selector %player_name%"

messages:
  welcome-spawn: "Welcome, %player_name%!"
  cannot-drop: "&cYou cannot drop this item!"
  reload-success: "&aConfiguration reloaded successfully!"
  no-permission: "&cYou do not have permission to use this command!"
  usage: "&eUsage: /ghub [reload|spawn]"

8. Safety & Convenience

  • Hub item cannot be dropped or moved.
  • Cooldowns prevent teleport spam when falling into the void.
  • Messages and commands safely handle missing players in console.

9. Installation

  1. Download the latest GHub.jar plugin.
  2. Place the file in your Paper server's plugins folder.
  3. Restart the server to generate config.yml and spawn.yml.
  4. Configure config.yml and set the spawn point using /ghub spawn.
  5. Done! Players will now receive the hub item on join.

Последние версии

Все версии →
release

gHub 1.2.1

1.2.1
10 июн. 2026 г.115Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
release

gHub 1.2.0

1.2.0
4 янв. 2026 г.106Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur, spigot
Скачать
Что нового
## 🇬🇧 Update v1.2.0 — Optimization & Overhaul **Major Changes:** * **Complete Code Rewrite:** Switched to a modular architecture (Managers/Listeners) for better stability and easier updates. * **Performance Boost:** Heavily optimized `PlayerMoveEvent` to significantly reduce server load. * **Unlimited Items:** You can now configure multiple custom items in the lobby (previously limited to just one). * **New Features:** Added **HEX Color** support, and **Multi-World** toggle. * **Smarter Logic:** Improved Anti-Void mechanics (velocity reset) and added flexible command types (`[console]`, `[bungee]`, `[player]`). --- ## 🇷🇺 Обновление v1.2.0 — Оптимизация и Рефакторинг **Основные изменения:** * **Полная перепись кода:** Переход на модульную архитектуру. Плагин стал стабильнее и профессиональнее. * **Производительность:** Полностью переписана логика проверки движения. Плагин больше не нагружает сервер при ходьбе игроков. * **Система предметов:** Теперь можно создавать **неограниченное количество предметов** (раньше был только один). * **Новые функции:** Добавлена поддержка **HEX-цветов** и настройка миров, где работает плагин. * **Улучшенная механика:** Исправлена физика при возврате из бездны (сброс инерции) и добавлены типы команд (`[console]`, `[bungee]`, `[player]`).
release

gHub 1.1.2

1.1.2
23 окт. 2025 г.53Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10paper, purpur, spigot
Скачать
release

gHub 1.1.1

1.1.1
15 сент. 2025 г.35Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8paper, spigot
Скачать
Что нового
Bugs
release

gHub 1.1

1.1
14 сент. 2025 г.33Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8paper, spigot
Скачать
Что нового
Added to config default gamemode.
release

gHub 1.0

1.0
6 сент. 2025 г.46Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8paper, spigot
Скачать