➱ MY FIRST PLUGIN v1.5.8
➱HAVE COOLDOWNS AND MORE
➱ SOUNDS
➱ VARIABLES AND ECONOMY
➱ MYSQL SUPPORT
WARNING: The plugin working 1.8 to 1.19!
TESTED IN 1.7.10 1.8.9 1.16.5 1.19
COMMENT TO REPORT BUGS AND ERRORS!
CONFIGURABLE
➤ CONFIG.YML
# S36 * 2022 SHomes HOMES36 1.5.9b
#
# /shomes reload to reload & /shomes <reload|home|get> (shomes.admin)
#
# disabled-worlds:
# - exampleworld
# - world2
#
# On try to teleport to home or sethome, or teleport home of player check player world and home's world
#
#
# DEBUG: FALSE - Log in console on player try to execute commands or other
debug: false
# | |
# | | __ . . __ ___ __ ___
# |=| | | |\/| | | __| |_ || <|
# | | | | | | |== |__ | |_ || _ |
# | | |__| | | |__ |___| |__||___|
version: 1.5.9
#
# PRO PLUGIN OF HOMES
# VISIT https://www.spigotmc.org/resources/%E2%9C%A8homes36-1-19-support-mysql.103207/ TO MORE INFO
# 1.7 to 1.19
# MYSQL
# ECONOMY
# ETC
# mysql databases
#
# enabled: <true or false>
# hostname: <host>
# port: <port number>
# database: <databasename>
# username: <username>
# password: <username password>
mysql:
enabled: false
hostname: "localhost"
port: 2222
database: "db"
username: "root"
password: "pass"
command:
home:
# player requires perm to use /home (shomes.use)
# if you use this /sethome requires perm!
perm: false
# cancel tp on move and on damage
# this only works if teleport time is enabled
events:
cancelonmove: true
cancelondamage: true
# player wait time to execute command /home again
# cooldown: <true or false>
# cooldown-time: 30 seconds to use
# bypass-perm: <true or false> (shomes.bypass.cooldown)
cooldown: false
cooldown-time: 30
bypass-perm: true
# teleport settings
teleport:
# if player have homes on death he teleported to home!
on-death: false
# teleport time
# enabled: <true or false> enable teleport time
# delay: 5 seconds wait and player are teleported
# bypass: <true or false> (shomes.bypass.tptime)
time:
enabled: true
bypass: false
delay: 5
sethome:
# Economy requires Vault and Economy Plugin (Essentials or other)
# if you server is enabled and change <economy> to <true> dont reload the plugin, reload the server else restart the server!
# The plugin need restart or reload server to load all plugins(Important VAULT) to check if Vault is enabled!
economy: false
price: 10.0
# SOUNDS:
# 1.8+ (ORB_PICKUP)
# 1.13+ (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html#enum-constant-summary ENTITY_EXPERIENCE_ORB_PICKUP)
#
# <home-teleport> On /home if player is teleported.
# <sethome> On /sethome if player set home successfully.
# <before-teleport> On /home if cooldown start.
# <delhome> On /delhome if player delete home successfully.
sounds:
home-teleport:
sound: ORB_PICKUP
enabled: false
sethome:
sound: ORB_PICKUP
enabled: false
before-teleport:
sound: ORB_PICKUP
enabled: false
delhome:
sound: ORB_PICKUP
enabled: false
# DISABLE WORLDS FOR TELEPORT TO HOME OR SETHOME
disabled-worlds:
- exampleworld
➤ MESSAGES.YML
# S36 * 2022 SHomes HOMES36 1.5.9b
prefix: "&e[SHOMES]"
noperm: "&fRequires permission to execute this command!"
world-disabled: "{prefix} &6The world are disabled!"
home:
# &<colorcode>
# variables:
# {p} player name
# {t} time for wait
# {prefix} prefix
# {price} price of sethome
tpcooldown: "{prefix} &6You are teleported in &c{t} &6seconds!"
noperm: "{prefix} &6Required permission!"
moved: "{prefix} &6You moved. Canceled!"
takedamage: "{prefix} &6You receive damage. Canceled!"
teleporting: "{prefix} &6Teleporting..."
commandcooldown: "{prefix} &6Wait &c{t} &6seconds to execute the command again!"
nohomes: "{prefix} &6You no have a home to teleport!"
sethome:
homeseted: "{prefix} &6Home seted!"
nomoney: "{prefix} &6You don't have money to this! You need &c{price}$&6!"
toconfirm: "{prefix} &6Write the command again to confirm! Only remove &c{price}$ &6of your account!"
buyed: "{prefix} &6You buy a home for &c{price}$&6!"
delhome:
nohomes: "{prefix} &6You no have home to delete!"
deleted: "{prefix} &6You home has been deleted!"
playerdead:
nohomes: "{prefix} &6You died but no have a home to teleport!"
teleported: "{prefix} &6You died and teleported to your home!"
➤ DATA.YML (PER UUID)
data:
f041d7a7-4bad-313d-b227-3adawrwar:
world: world
x: -29.617183692676285
y: 65.0
z: 342.53398361965446
pitch: 72.67406
yaw: 153.01541
ADMIN COMMANDS
- shomes <reload> (shomes.admin)
- shomes home <player> (shomes.admin) (Only work with online player)
- shomes get <player> <[player warp data]>
(Only work with online player)
PLAYER COMMANDS
- home (shomes.use)
- sethome (shomes.use)
- delhome (shomes.use)
Vault [DOWNLOAD]
Economy Plugin [Economy] [Essentials]
GOOD PLUGIN FOR SURVIVAL SERVERS WITH GOOD FUNCTIONS!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta