Resource icon
Tested Minecraft Versions:
By luchocomegatos/Princip_
FindNPCs is a plugin that allows your players to find different NPCs with rewards! Perfect for lobby/hubs and survival servers!
Features
If player hasn't clicked NPC before.
if player has clicked NPC before.
File: config.yml
Code (Text):
#############################################
# Database
#############################################
mysql:
enabled: false
hostname: localhost
port: '3306'
username: root
database: npcs_data
password: 1234
#############################################
# Hologram
#############################################
hologram:
enabled: true
heigh: 2.0
lines:
- '%name'
- '&e(Right click)'
#Install Holographic Displays! https://dev.bukkit.org/projects/holographic-displays
#############################################
# Cooldown
#############################################
cooldown:
enabled: true
seconds: 5
#############################################
# Economy
#############################################
economy:
enabled: true
money: 30
message: "&6+ %money coins!"
using: vault
# This can be "vault" or "playerpoints".
#############################################
# Sounds
# 1.9 (+): https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
#############################################
sounds:
enabled: true
first-click: ENTITY_PLAYER_LEVELUP
normal-click: ENTITY_VILLAGER_YES
cooldown-click: BLOCK_ANVIL_BREAK
#############################################
# Configurable Strings
#############################################
lang:
no-permission: '&cYou dont have permission to do this!'
wait-seconds: '&cWait &e%seconds seconds &cto do that!'
File: npcs.yml
Code (Text):
npcs:
Princip_:
location: world,-306,64,409
first-time-command: give %player diamond 1
message_first:
- You clicked me for the first time!
message:
- You clicked me!
id: 1
- 1.8
- 1.9
- 1.10
- 1.11
By luchocomegatos/Princip_
FindNPCs is a plugin that allows your players to find different NPCs with rewards! Perfect for lobby/hubs and survival servers!
Features
- Very customizable.
- Support for MySQL and YAML database.
- Cooldown system! (NEW)
- Vault or PlayerPoints economy system! (Optional)
- Command reward system!
- HolographicDisplays support (Optional)
- Reward system: only execute once per player click.
- Allow sounds.
- Easy setup.
- More!
- /findnpcs (fnpcs) set <name>
- /findnpcs (fnpcs) delete <name>
- /findnpcs (fnpcs) reload
- findnpcs.setup.* - All setup permissions.
- findnpcs.setup.set - Permission to create an NPC.
- findnpcs.setup.delete - Permission to delete an NPC.
- findnpcs.setup.reload - Permission to reload all configuration files.
- Citizens (Download premium or free)
- HolographicDisplays (Optional)
- Economy system (Optional)
- Vault
- PlayerPoints
- Cooldown system (DONE!)
- API for developers.
- Your suggestion
If player hasn't clicked NPC before.
if player has clicked NPC before.
File: config.yml
Code (Text):
#############################################
# Database
#############################################
mysql:
enabled: false
hostname: localhost
port: '3306'
username: root
database: npcs_data
password: 1234
#############################################
# Hologram
#############################################
hologram:
enabled: true
heigh: 2.0
lines:
- '%name'
- '&e(Right click)'
#Install Holographic Displays! https://dev.bukkit.org/projects/holographic-displays
#############################################
# Cooldown
#############################################
cooldown:
enabled: true
seconds: 5
#############################################
# Economy
#############################################
economy:
enabled: true
money: 30
message: "&6+ %money coins!"
using: vault
# This can be "vault" or "playerpoints".
#############################################
# Sounds
# 1.9 (+): https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
#############################################
sounds:
enabled: true
first-click: ENTITY_PLAYER_LEVELUP
normal-click: ENTITY_VILLAGER_YES
cooldown-click: BLOCK_ANVIL_BREAK
#############################################
# Configurable Strings
#############################################
lang:
no-permission: '&cYou dont have permission to do this!'
wait-seconds: '&cWait &e%seconds seconds &cto do that!'
File: npcs.yml
Code (Text):
npcs:
Princip_:
location: world,-306,64,409
first-time-command: give %player diamond 1
message_first:
- You clicked me for the first time!
message:
- You clicked me!
id: 1