SafeHub
A lightweight Hub plugin that is safe, simple to use and efficient.
Features
A lightweight Hub plugin that is safe, simple to use and efficient.
-
Per-world - You can choose in which world the plugin will work
-
/sethub and /hub - You can set the hub location using the /sethub command and you can teleport to it using /hub command
-
Custom join items - Players can get custom items when they join the server
-
Chat toggle - You can toggle the chat using the Diamond
-
Doublejump - You can change the strength of the doublejump (velocity) in the Config
-
Doublejump Effects - You can now add a particle effect when a player uses Doublejump
-
Magic Clock - You can let the players hide/show other players with a single click
-
Clear Inventory On Join - You can clear the players inventory when they join the server (useful when you changed some join items in the config and reloaded the plugin)
-
Clear Inventory On Leave - You can clear the players inventory when they leave the server (similar usage that the Clear Inventory On Join has)
-
Inventory-Interaction - You can disable player's inventory interaction, so the players wouldn't be able to move their items around their inventory
-
Block Place - You can deny the players from placing blocks on the ground
-
Item Drop - You can deny players from dropping items to the ground
-
Adventure Gamemode On Join - You can set the player's gamemode to adventure when they join
-
Highly customizable - You can enable/disable almost every feature of the plugin in the config.yml file
-
Custom Join/Leave Messages - Customize the way join and leave messages look when a player joins/leaves
-
Disable Weather - You can disable the weather, to keep it clear all the time
-
Disable Fall-Damage - You can disable fall-damage
-
Disable Hunger - Disable the hunger so the players on your hub server wouldn't have to worry about that
-
Active Development - No need to worry about if this plugin will be updated to latest version of Spigot, this plugin will always be updated and maintained
-
Your Ideas - If You post an idea/suggestion it's quite likely that it will be implemented in the near future
-
Free - This plugin will always be free, I don't believe in Premium resources so this plugin will be free ALWAYS (if you want to support me, you can donate, but it's not needed to download/use the plugin)
-
/shub - Basic command to see available commands, the author of the plugin and the version of the plugin. (no-permission)
-
/shub reload - Reload the Config.yml file. (safehub.reload)
-
/sethub - Set the hub to your location (safehub.sethub)
-
/hub - teleport to Hub (safehub.hub)
-
safehub.receive - Permission to let players receive custom items on join.
-
/shub update - Enable/disable update notifications in-game on join (safehub.admin)
Config.yml
Donate:
Donate to let me buy candy, coffee and help me fight off the evil creatures like responsibilities & bills! if you donate and PM me, I will make a Donation tab on the plugin main page and put you on the donators list, also, if you have a server, you can PM me the IP of the server.
Spoiler: config.yml
Code (Text):
[/LEFT]
# SHub - By DirolGaming
# This is the section where the plugin saves Hub location info automatically. You can manually change these values, but do it only if you know what you are doing.
# These values will be automatically updated when an admin executes the /sethub command.
world:
name: 'world'
X:
Y:
Z:
Yaw:
Pitch:
usespawnpointinstead: "true"
# Teleport on join - Select if you want to teleport players directly to hub when they join.
teleport-on-join: true
# Doublejump settings
velocity: 1.5
enable-doublejump: true
enable-doublejump-Messages: true
doublejump-message: '&7Woosh!'
doublejump-cooldownleft: '&7You must wait &c&l%time% &7seconds to doublejump again'
doublejump-cooldownmessage: '&7You can now use the doublejump function again!'
effect-enable: true
#Effect, effects have a BUKKIT Effect name. The plugin will capitalize the Effect names. To see available effects go here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
#Be careful with it, because it can cause problems when you accidentaly insert a Sound Effect, not a Particle Effect
#This is the doublejump effect
effect: 'MOBSPAWNER_FLAMES'
#SHub chat toggle messages
chat-unmute: "&7Chat has been unmuted!"
chat-mute: "&7Chat has been muted!"
# Hub gun sounds and effects section
# These use basically the same format as the Doublejump effect, but with these you have more control over the sounds and effects.
# For example: ENTITY_CAT_AMBIENT:10:1 means that the sound is ENTITY_CAT_AMBIENT, the speed of it is 10 and the pitch of it is 1 changing the speed and the pitch of sounds and effects is entirely up to you.
# For available Sounds and Effects visit these sites:
# Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
enable-sound: true
sounds:
- "ENTITY_CAT_AMBIENT:10:1"
- "ENTITY_WOLF_AMBIENT:10:1"
- "ENTITY_ENDER_DRAGON_FLAP:10:1"
- "BLOCK_WATER_AMBIENT:10:1"
enable-effect: true
effects:
- "MOBSPAWNER_FLAMES:5"
- "MOBSPAWNER_FLAMES:5"
- "MOBSPAWNER_FLAMES:5"
- "ENDER_SIGNAL:5"
# Plugin update checker and notifier.
check-update: true
notify-update: true
enable-notifications: '&c&lSafeHub &7update notifications are now &a&lenabled&7!'
disable-notifications: '&c&lSafeHub &7update notifications are now &c&ldisabled&7!'
# items - items must have a BUKKIT Material name, otherwise they won't work. The plugin will capitalize the item names, so don't worry about that
# If you want to make a great server selector, use ItemCommands & ChestCommandsGUI plugins to make an awesome looking server selector
# If you do not want to use all of the customizable 9 items, you can disable them one at a time by changing their name to "-"
# Example:
# item-x:
# item: "-"
item-1:
item: compass
name: '&c&lServer selector'
lore: '&7Insert text here'
slot: 1
item-2:
item: BLAZE_ROD
name: '&c&lHub Gun'
lore: '&7Insert text here, or leave it empty.'
slot: 2
item-3:
item: diamond
name: '&c&lA fine looking diamond'
lore: ''
slot: 3
item-4:
item: clock
name: '&c&lMagic Clock'
lore: '&7Hide/Show players'
slot: 4
item-5:
item: "-"
name: '&c&lThis is string.'
lore: ''
slot: 5
item-6:
item: "-"
name: '&c&lShine bright like a emerald'
lore: '&7Insert text here'
slot: 6
item-7:
item: "-"
name: '&c&lbook'
lore: '&7Be smart, read'
slot: 7
item-8:
item: "-"
name: '&c&lStone is a stone'
lore: '&7Insert text here'
slot: 8
item-9:
item: "-"
name: '&c&lfoo'
lore: '&7bedrock oo'
slot: 9
#Change the join and leave messages! Use the %player% if you want to display the player's name
enable-join-quit-messages: true
join-message: '&c&l%player% &7has joined the server!'
quit-message: '&c&l%player% &7has left the server!'
#Basic implementation of disabling time
lock-time: false
time: 5600
#Some common messages of SHub
no-permission: '&cYou do not have enough permissions for that command!'
unknown-command: '&7Unknown command, use /hub to see available commands.'
reload-message: '&8[&c&lSHub&8] &7plugin has been reloaded.'
on-teleport-to-spawn: '&7You have been teleported to &c&lHub&7.'
set-hub: '&7New &c&lHub &7location has been set.'
#Select if you want to allow item-drops and inventory-interaction. Inventory-interaction will only affect those players who are on Survival/Adventure gamemodes
item-drop: false
inventory-interaction: false
#MOTD - Message Of The Day
motd:
enable: true
motd: "&7Welcome to this server!"
enable-hover: true
motd-hover: "&7Click on this text to open a URL!"
enable-click: true
click-url: "www.sitanikerdis.ee"
#Do you want to clear player's inventories when they leave/join the server? Items what are spawned by SHub will not be affected by this
#I recommend leaving this to false when using this plugin in a per-world server
clear-on-quit: false
clear-on-join: false
#Would you like to deny players placing down blocks (leave it to false, if you do not want the plugin to deny players from placing blocks or you have another plugin handling this)
on-place-block-deny: true
block-place-denymsg: "&7Block placing has been deactivated in the SHub config."
#Boolean values (they can only be true or false)
gamemode-on-join-adventure: true
disable-fall-damage: true
disable-hunger: true
disable-weather: true
#Magic-Clock Messages.
hide-players-message: '&8[&c&lSHub&8] &7All players have been hidden!'
show-players-message: '&8[&c&lSHub&8] &7All players are now visible!'
#Movement - Teleport player back to spawn if he falls (leave this off, if you do not have a hub that is in the air, and players have the danger of falling into void).
#Movement - cordinate-y only accepts integers (otherwise known as numbers). Example: Hub is at Y 89, player falls, if the cordinate-y is 60 then when the player's at Y=60, he will be teleported back to spawn.
enable-movementYtp: false
cordinate-y: 15
#Thank you for downloading this plugin, if you like this plugin or have any feedback, please post it in the review section on the Plugin Spigot page.
#If you have found a bug, please PM me, or post it in the Discussion section of the Plugin Spigot page
#DO NOT TOUCH THIS
config-ver: 3.0.1
[LEFT]
# SHub - By DirolGaming
# This is the section where the plugin saves Hub location info automatically. You can manually change these values, but do it only if you know what you are doing.
# These values will be automatically updated when an admin executes the /sethub command.
world:
name: 'world'
X:
Y:
Z:
Yaw:
Pitch:
usespawnpointinstead: "true"
# Teleport on join - Select if you want to teleport players directly to hub when they join.
teleport-on-join: true
# Doublejump settings
velocity: 1.5
enable-doublejump: true
enable-doublejump-Messages: true
doublejump-message: '&7Woosh!'
doublejump-cooldownleft: '&7You must wait &c&l%time% &7seconds to doublejump again'
doublejump-cooldownmessage: '&7You can now use the doublejump function again!'
effect-enable: true
#Effect, effects have a BUKKIT Effect name. The plugin will capitalize the Effect names. To see available effects go here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
#Be careful with it, because it can cause problems when you accidentaly insert a Sound Effect, not a Particle Effect
#This is the doublejump effect
effect: 'MOBSPAWNER_FLAMES'
#SHub chat toggle messages
chat-unmute: "&7Chat has been unmuted!"
chat-mute: "&7Chat has been muted!"
# Hub gun sounds and effects section
# These use basically the same format as the Doublejump effect, but with these you have more control over the sounds and effects.
# For example: ENTITY_CAT_AMBIENT:10:1 means that the sound is ENTITY_CAT_AMBIENT, the speed of it is 10 and the pitch of it is 1 changing the speed and the pitch of sounds and effects is entirely up to you.
# For available Sounds and Effects visit these sites:
# Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html
enable-sound: true
sounds:
- "ENTITY_CAT_AMBIENT:10:1"
- "ENTITY_WOLF_AMBIENT:10:1"
- "ENTITY_ENDER_DRAGON_FLAP:10:1"
- "BLOCK_WATER_AMBIENT:10:1"
enable-effect: true
effects:
- "MOBSPAWNER_FLAMES:5"
- "MOBSPAWNER_FLAMES:5"
- "MOBSPAWNER_FLAMES:5"
- "ENDER_SIGNAL:5"
# Plugin update checker and notifier.
check-update: true
notify-update: true
enable-notifications: '&c&lSafeHub &7update notifications are now &a&lenabled&7!'
disable-notifications: '&c&lSafeHub &7update notifications are now &c&ldisabled&7!'
# items - items must have a BUKKIT Material name, otherwise they won't work. The plugin will capitalize the item names, so don't worry about that
# If you want to make a great server selector, use ItemCommands & ChestCommandsGUI plugins to make an awesome looking server selector
# If you do not want to use all of the customizable 9 items, you can disable them one at a time by changing their name to "-"
# Example:
# item-x:
# item: "-"
item-1:
item: compass
name: '&c&lServer selector'
lore: '&7Insert text here'
slot: 1
item-2:
item: BLAZE_ROD
name: '&c&lHub Gun'
lore: '&7Insert text here, or leave it empty.'
slot: 2
item-3:
item: diamond
name: '&c&lA fine looking diamond'
lore: ''
slot: 3
item-4:
item: clock
name: '&c&lMagic Clock'
lore: '&7Hide/Show players'
slot: 4
item-5:
item: "-"
name: '&c&lThis is string.'
lore: ''
slot: 5
item-6:
item: "-"
name: '&c&lShine bright like a emerald'
lore: '&7Insert text here'
slot: 6
item-7:
item: "-"
name: '&c&lbook'
lore: '&7Be smart, read'
slot: 7
item-8:
item: "-"
name: '&c&lStone is a stone'
lore: '&7Insert text here'
slot: 8
item-9:
item: "-"
name: '&c&lfoo'
lore: '&7bedrock oo'
slot: 9
#Change the join and leave messages! Use the %player% if you want to display the player's name
enable-join-quit-messages: true
join-message: '&c&l%player% &7has joined the server!'
quit-message: '&c&l%player% &7has left the server!'
#Basic implementation of disabling time
lock-time: false
time: 5600
#Some common messages of SHub
no-permission: '&cYou do not have enough permissions for that command!'
unknown-command: '&7Unknown command, use /hub to see available commands.'
reload-message: '&8[&c&lSHub&8] &7plugin has been reloaded.'
on-teleport-to-spawn: '&7You have been teleported to &c&lHub&7.'
set-hub: '&7New &c&lHub &7location has been set.'
#Select if you want to allow item-drops and inventory-interaction. Inventory-interaction will only affect those players who are on Survival/Adventure gamemodes
item-drop: false
inventory-interaction: false
#MOTD - Message Of The Day
motd:
enable: true
motd: "&7Welcome to this server!"
enable-hover: true
motd-hover: "&7Click on this text to open a URL!"
enable-click: true
click-url: "www.sitanikerdis.ee"
#Do you want to clear player's inventories when they leave/join the server? Items what are spawned by SHub will not be affected by this
#I recommend leaving this to false when using this plugin in a per-world server
clear-on-quit: false
clear-on-join: false
#Would you like to deny players placing down blocks (leave it to false, if you do not want the plugin to deny players from placing blocks or you have another plugin handling this)
on-place-block-deny: true
block-place-denymsg: "&7Block placing has been deactivated in the SHub config."
#Boolean values (they can only be true or false)
gamemode-on-join-adventure: true
disable-fall-damage: true
disable-hunger: true
disable-weather: true
#Magic-Clock Messages.
hide-players-message: '&8[&c&lSHub&8] &7All players have been hidden!'
show-players-message: '&8[&c&lSHub&8] &7All players are now visible!'
#Movement - Teleport player back to spawn if he falls (leave this off, if you do not have a hub that is in the air, and players have the danger of falling into void).
#Movement - cordinate-y only accepts integers (otherwise known as numbers). Example: Hub is at Y 89, player falls, if the cordinate-y is 60 then when the player's at Y=60, he will be teleported back to spawn.
enable-movementYtp: false
cordinate-y: 15
#Thank you for downloading this plugin, if you like this plugin or have any feedback, please post it in the review section on the Plugin Spigot page.
#If you have found a bug, please PM me, or post it in the Discussion section of the Plugin Spigot page
#DO NOT TOUCH THIS
config-ver: 3.0.1
[LEFT]
Donate:
Donate to let me buy candy, coffee and help me fight off the evil creatures like responsibilities & bills! if you donate and PM me, I will make a Donation tab on the plugin main page and put you on the donators list, also, if you have a server, you can PM me the IP of the server.
- Add more customizable messages into the config.yml file
- Custom Join/Leave messages
- Code cleanup
- You tell me!
- Support to send players Titles when they join
- Give you the ability to disable weather
- Ability to disable hunger
- Add the option to disable fall-damage (thanks for the idea, @MCMarter )
- Add /sethub command to basically set the spawn, so you wouldn't have to use a different spawn plugin
I just want to say, I'm just learning Java so if there are any bugs/mistakes in my plugin, please PM me about them, or leave them in the discussions section. Don't be afraid to leave a review of my plugin, feedback means everything to me.Thank you for downloading, or even just checking out the plugin!
IF YOU ENCOUTER BUGS OR ISSUES, PLEASE DO NOT LEAVE THEM IN THE REVIEWS SECTION. POST THEM IN THE DISCUSSIONS SECTION OR REPORT THEM IN THE GITHUB ISSUE TRACKER.
IF YOU ENCOUTER BUGS OR ISSUES, PLEASE DO NOT LEAVE THEM IN THE REVIEWS SECTION. POST THEM IN THE DISCUSSIONS SECTION OR REPORT THEM IN THE GITHUB ISSUE TRACKER.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.12, 1.13, 1.14
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SHub - SafeHub is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14. Downloaded 1,439 times (via Spigot). Download it and open it directly in the game.