Some bugs were fixed, and the layout of the items in the following menus was changed:
- guishop-category.yml
- guishop.yml
- guishop-categories.yml
- gui.yml
If you want these changes to be reflected in your minecraft, you must delete these files and load them again.
I will start working on a new version to avoid having to delete files in case future versions have changes in files. Any problem, doubt do not hesitate to contact me on discord or on spigot
After a few long months, a new plugin update has arrived! - Bugs have been fixed, the code has been considerably improved.
- New functions have also been added, such as the gender of an npc and the mood.
- The mood function is to know how the npc feels, he can be angry, happy or afraid. This mood function does not affect the npc as such yet but in the next updates, it will.
If you have an error in this new version, contact me via spigot, email or discord and I will gladly help you!
I recommend that you start an installation from scratch.
Working on the new version! A big update is coming soon where it is possible to control all the administrative management of the plugin through a web page!
Working for more!
Hi all! I hope this year is very good for everyone and to give a good start to the year, today I come to show you a new version of this fantastic plugin! It is a BETA version even so there may be some errors (I hope not) if so, do not hesitate to contact me via discord to help you! Among the new features are:
- You will be able to divorce an npc that you have previously married!
- Your children will be able to study a job in order to obtain greater benefits!
- The menu and jobs have been renewed!
- New commands added! I recommend you visit the wiki!
- New permissions added! I recommend you see the wiki!
Any permission that is needed, do not hesitate to contact me to assign it.
Finally keep in mind that this is a new version that contains many of the bug fixes and new features, so it is better that you start an installation of this version from scratch. Happy New Year!
To apply this new update well, it is necessary to delete the files mentioned above, so that the new ones are loaded.
Finally, the structure of the database has been modified, so it is also necessary to delete the file: NPCAlive.db. You can find it in the Data folder.
If you don't want to lose the information already contained in the database, you can contact me via discord, to be able to help you.
This new update prevents the npc from losing their skins when restarting the server, so it is very important to reload a new database. If this is your first time using the plugin, just install it and go.
- Waiting time was added, when the npc finishes the job, you must wait to be able to send it to work again.
- The following section has been removed in the config.yml file
Code (Text):
# Set a limit on how much npc a player can create with the command /npcalive create (namenpc)
npc-creation-limit: 2
npc-creation-lore: 'Just put it on the ground and the npc will appear' # This text corresponds to the description that is added to the head when you use the /npcalive create command
It is not necessary that you delete the config.yml but it is important that you know that this section no longer works.
- Waiting time was added, when the npc finishes the job, you must wait to be able to send it to work again.
- The following section has been removed in the config.yml file
Code (Text):
# Set a limit on how much npc a player can create with the command /npcalive create (namenpc)
npc-creation-limit: 2
npc-creation-lore: 'Just put it on the ground and the npc will appear' # This text corresponds to the description that is added to the head when you use the /npcalive create command
It is not necessary that you delete the config.yml but it is important that you know that this section no longer works.
After more than 1 month without an update. NPCAlive returns! and about to reach 60 downloads !!
For this new version, certain bugs and errors were fixed and the following files were changed.
gui.yml
guiwhistle.yml
config.yml
Also, new messages were added so the following files were also changed.
messagescfg_en
messagescfg_es
messagescfg_fr
If you are using the plugin and you want to apply this new update successfully, I ask you to delete the files mentioned above, so that the new ones are loaded in an effective way and you can avoid possible errors in the plugin.
Finally, new features have been added, such as the following:
New command to confirm the sale of a specific npc: '/npcalive confirm'
Changes in the permissions to buy npc, now it is: npcalive.buy.(idshop). For example: npcalive.buy.2
The id shop can be found in the file guishop.yml
New feature in development! Allow an npc son or daughter to study a job to be able to work in the future, this option is still being developed.
If you really want to enjoy a clean version without possible errors. You better install the plugin from scratch.
Any idea, mistake, or possible bug. Do not forget to send me a private message or contact me by discord or email. Working for more!
To install this new version, I recommend that you do it from a completely clean installation, that is, delete everything related to the last version since this new version brings the following improvements:
- The store has been completely recreated, adding categories and more.
- Jobs have been assigned to the npc through contracts that are generated by the players themselves, accessed through the "Hire" option in the interaction with the npc. To access this new function it is necessary for the player to have a specific amount of hearts, which can be found in the config.yml.
- The config.yml file has been recreated, adding new configurations and functions.
- Several files have been modified, so some items have also been added and modified in the interaction with the npc.
- The plugin database has also been restructured.
- New messages have been added, so it is necessary to load them again so that they can be viewed and avoid possible errors.
That has been all in summary, I advise you to visit the main page of the plugin
in spigot and also see the wiki where most of the permissions and new changes are found.
This is a beta version and therefore it is subject to some errors, although it has already been tested several times, something can always happen. If you find an error, do not hesitate to
contact me via, email discord or private message on spigot.
I hope you value the work and i hope you like this new version and I will keep working to keep improving this great plugin! greetings to all and thanks for the 50 downloads! <3. Working for more!
The gui.yml file has been improved, so I ask you to delete the old one and in this way the new gui.yml file will be loaded. Also a message has been added to the messagescfg_en file. The new file is:
Code (Text):
sendHome-npc: '&cSee you at home'
maximum-number-of-children: '&cYou cannot have more children, you have exceeded the
maximum amount established by the administration'
set-npc-skin: Npc skin successfully changed!
noPermission: '&cYou do not have permission to perform this action!'
clickonnpc: '&cError, click on an NPC'
max-npc-purshased: '&cYou are not allowed to buy more npc'
gift-activated: '&cClick the item in hand to npc, or use /npcalive cancel to cancel
the gift'
already-married: '&cFool, whats wrong with you ?, were already married'
unfollow-npc: ' &cOk i will stay here'
ErrorMessagePrefix: '&7[&cNPCAlive&7] '
nomoney: '&cYou do not have enough money to perform this action'
relationship:
unknown: Unknown
partner: Partner
daughter: Daughter
son: Son
married: Married
acquaintances: Acquaintances
friends: Friends
committed: Committed
son-info-head: '&cChild of %name-father% and %name-mother%'
work-npcjob-nomoney: '&cYou don''t have enough money to send the npc to work'
work-level-down-npc: '&cYou lowered the level of work successfully'
npc-found: '&cI''m already here, what happens?'
npc-created-limit: '&cYou exceeded the npc creation limit established by the administration'
notnumericid: '&cError, the id of the npc entered must be a numeric value!'
notnull-npc-skin: 'You must assign the name of the skin to set it in the npc, use:
/npcalive setskin (name)'
wedding-broadcast-message: '&cCongratulations to %nameplayer% for marrying with %namenpc%'
toWork: '&cI come soon!'
have-a-child-broadcast: '&cCongratulations to %nameplayer% for being the father of
%namenpc%'
info:
default: Citizen
daughter: 'Daughter of: %namefather% and %namemother%'
son: 'Son of: %namefather% and %namemother%'
work-level-up-npcjob: '&cYou raised the level of work successfully'
remove-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
remove &c(playername) &b(idnpc) (hearts)'
get-npc-creation-head: '&cVous avez reçu le PNJ dans votre inventaire, lorsque vous
le voulez, il suffira de le poser sur le sol et le PNJ apparaîtra.'
CommandList:
- ''
- '&7&m-----------&r &7[&eNPCAlive&7] &m-----------&r&7'
- ''
- '&b/npcalive &7: Shows this command list.'
- '&b/npcalive reload &7: Reloads the plugin.'
- '&b/npcalive reset &7: Delete all saved data from the plugin.'
- '&b/npcalive setname <name> &7: Set the name to your child when they have procreated
with your npc.'
- '&b/npcalive cancel &7: Cancel any pending action to interact with the npc.'
- '&b/npcalive add (nick) (id) (hearts) &7: Add hearts to a player with a specific
npc.'
- '&b/npcalive remove (nick) (id) (hearts) &7: Remove hearts to a player with a specific
npc.'
- '&b/npcalive set (nick) (id) (hearts) &7: Set hearts to a player with a specific
npc.'
- '&b/npcalive toggle &7: Enabled or disabled particles.'
- '&b/npcalive sethome (npcname)&7: Establish a home to an npc'
- '&b/npcalive sendhome (npcname)&7: Send an npc to home'
- '&b/npcalive jobs &7: Access the jobs of the npc that are part of your family.'
- '&b/npcalive release (npcname) &7: Free an npc.'
- '&b/npcalive create (npcname) &7: Create an npc.'
- ''
- '&7&m-----------&r&7[ &ePage &f(&a1&7/&a1&f) &r&7]&m------------&r&8'
- ''
completed-work: '&cIntelligent ! J''''ai fini pour aujourd''''hui et je vous ai apporté
des choses...'
action-pending: '&cYou have a pending action, use /npcalive cancel to cancel it'
have-a-child: '&cCongratulations to %nameplayer% for being the father of %namenpc%'
add-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
add &c(playername) &b(idnpc) (hearts)'
already-follow-npc: '&cIm already following you'
onWork: '&cI''m still at work :('
npc-shop-buy: '&cYou successfully purchased the npc for: %price%'
npc-procreate: '&cSet a name for your child using: /npcalive setname (name), if you
want to cancel this action use /npcalive cancel'
add-notnullhearts: '&cError, you have not entered the number of hearts to set! &buse:
/npcalive add (playername) (idnpc) &c(hearts)'
player-not-found: '&cPlayer not found'
max-wife-limit: '&cYou have exceeded the maximum limit of allowed handcuffs'
cant-marry-your-son: '&cYou cannot marry your child'
action-cancele: '&cAction canceled'
notonlineplayer: '&cThe player is not online!'
npc-hide: '&cThe npc has been hidden or saved correctly'
npc-created: '&cNPC successfully created'
success-set-hearts: '&6Hearts set successfully!'
worldNotAllowed: '&cInteraction with npc is not allowed in this world!'
SuccessPrefix: '&2&lNPCAlive &8'
success-remove-hearts: '&6Hearts removed successfully!'
remove-notnullhearts: '&cError, you have not entered the number of hearts to delete!
&buse: /npcalive remove (playername) (idnpc) &c(hearts)'
npc-not-found: '&cNPC not found'
set-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
set (playername) &c(idnpc) &b(hearts)'
npc-onWork: '&cYou have a npc currently working, wait for me to come back to access
another job'
npc-not-family: '&cThis npc is not part of your family, you can''t make a home for
it '
remove-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
remove (playername) &c(idnpc) &b(hearts)'
notnullnpcname: '&cError, you have not entered the name of npc!'
reload: '&cReloaded configuration'
namenpc: '&6%namenpc%&7:'
MessagePrefix: '&7[&eNPCAlive&7]'
hearts: '&c%hearts%'
npc-notsethome: '&cThis npc is not a home set, set one using: /npcalive sethome (namenpc)'
follow-npc: '&cI follow you wherever you want'
action-canceled: '&6Action canceled'
success-add-hearts: '&6Hearts added successfully!'
inventory-full: '&cYou have the complete inventory, free up a space and try again'
invalid-gift: '&cI dont recognize this gift'
npc-select: '&cNPC selected correctly'
already-unfollow-npc: '&cIm not following you anymore'
work-level-max: '&cYou have reached the maximum work level'
notnull-npcson-name: '&cYou must assign a name to your son or daughter, use: /npcalive
setname (name)'
set-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
set &c(playername) &b(idnpc) (hearts)'
you-cant-have-children: '&cYou still cant have children'
add-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
add (playername) &c(idnpc) &b(hearts)'
npc-release: '&cThe npc has been successfully released'
set-npc-skin-message: 'Use the command: /npcalive setskin (name) to set a skin to
npc, for example: /npcalive setskin ShotCraft3x. To cancel use /npcalive cancel'
have-a-child-inventory: '&cCongratulations to %nameplayer% you have received your
child in the inventory, when you are ready just put him on the floor'
work-level-up-npcjob-nomoney: '&cYou don''t have enough money to improve this skill'
resetDB: '&6You have successfully removed all data from the database!'
procreate-not-ready: '&cYou have not yet activated the procreate function'
not-ready-to-get-married: '&cExcuse me ?, Im not ready yet to get married, first we
must know each other better'
setHome-npc: '&cNPC home successfully established'
work-level-min: '&cYou can no longer lower the level of work'
wedding-message: '&cCongratulations to %nameplayer% for marrying with %namenpc%'
particle-toggle: '&6Particles disabled!'
notfoundnpc: '&cThe NPC ID entered is not correct'
set-notnullhearts: '&cError, you have not entered the number of hearts to set! &buse:
/npcalive set (playername) (idnpc) &c(hearts)'
notnumerichearts: '&cError, the number of hearts to set must be a numeric value!'
successfully-married-npc: '&cThis is the best day of my life'
resetDB-player: '&6You deleted all player %player% data from the database with successfully!'
skin-reset: '&cSkin restored successfully'
Only a new translation has been added which is:
skin-reset: '&cSkin restored successfully'
With this update it is expected to fix the skin loss, that is, to recover the skin of an npc you must right click on the skin function within the interaction menu.
In such a way that to establish a new skin to the npc you must have the permission:
- npcalive.setskin and to see the skin function you must have the permission:
- npcalive.skin Future updates are coming, how to equip an npc and more!
The gui.yml file has been improved, so I ask you to delete the old one and in this way the new gui.yml file will be loaded. Also a message has been added to the messagescfg_en file. El nuevo archivo es:
Code (Text):
sendHome-npc: '&cSee you at home'
maximum-number-of-children: '&cYou cannot have more children, you have exceeded the
maximum amount established by the administration'
set-npc-skin: Npc skin successfully changed!
noPermission: '&cYou do not have permission to perform this action!'
clickonnpc: '&cError, click on an NPC'
max-npc-purshased: '&cYou are not allowed to buy more npc'
gift-activated: '&cClick the item in hand to npc, or use /npcalive cancel to cancel
the gift'
already-married: '&cFool, whats wrong with you ?, were already married'
unfollow-npc: ' &cOk i will stay here'
ErrorMessagePrefix: '&7[&cNPCAlive&7] '
nomoney: '&cYou do not have enough money to perform this action'
relationship:
unknown: Unknown
partner: Partner
daughter: Daughter
son: Son
married: Married
acquaintances: Acquaintances
friends: Friends
committed: Committed
son-info-head: '&cChild of %name-father% and %name-mother%'
work-npcjob-nomoney: '&cYou don''t have enough money to send the npc to work'
work-level-down-npc: '&cYou lowered the level of work successfully'
npc-found: '&cI''m already here, what happens?'
npc-created-limit: '&cYou exceeded the npc creation limit established by the administration'
notnumericid: '&cError, the id of the npc entered must be a numeric value!'
notnull-npc-skin: 'You must assign the name of the skin to set it in the npc, use:
/npcalive setskin (name)'
wedding-broadcast-message: '&cCongratulations to %nameplayer% for marrying with %namenpc%'
toWork: '&cI come soon!'
have-a-child-broadcast: '&cCongratulations to %nameplayer% for being the father of
%namenpc%'
info:
default: Citizen
daughter: 'Daughter of: %namefather% and %namemother%'
son: 'Son of: %namefather% and %namemother%'
work-level-up-npcjob: '&cYou raised the level of work successfully'
remove-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
remove &c(playername) &b(idnpc) (hearts)'
get-npc-creation-head: '&cVous avez reçu le PNJ dans votre inventaire, lorsque vous
le voulez, il suffira de le poser sur le sol et le PNJ apparaîtra.'
CommandList:
- ''
- '&7&m-----------&r &7[&eNPCAlive&7] &m-----------&r&7'
- ''
- '&b/npcalive &7: Shows this command list.'
- '&b/npcalive reload &7: Reloads the plugin.'
- '&b/npcalive reset &7: Delete all saved data from the plugin.'
- '&b/npcalive setname <name> &7: Set the name to your child when they have procreated
with your npc.'
- '&b/npcalive cancel &7: Cancel any pending action to interact with the npc.'
- '&b/npcalive add (nick) (id) (hearts) &7: Add hearts to a player with a specific
npc.'
- '&b/npcalive remove (nick) (id) (hearts) &7: Remove hearts to a player with a specific
npc.'
- '&b/npcalive set (nick) (id) (hearts) &7: Set hearts to a player with a specific
npc.'
- '&b/npcalive toggle &7: Enabled or disabled particles.'
- '&b/npcalive sethome (npcname)&7: Establish a home to an npc'
- '&b/npcalive sendhome (npcname)&7: Send an npc to home'
- '&b/npcalive jobs &7: Access the jobs of the npc that are part of your family.'
- '&b/npcalive release (npcname) &7: Free an npc.'
- '&b/npcalive create (npcname) &7: Create an npc.'
- ''
- '&7&m-----------&r&7[ &ePage &f(&a1&7/&a1&f) &r&7]&m------------&r&8'
- ''
completed-work: '&cIntelligent ! J''''ai fini pour aujourd''''hui et je vous ai apporté
des choses...'
action-pending: '&cYou have a pending action, use /npcalive cancel to cancel it'
have-a-child: '&cCongratulations to %nameplayer% for being the father of %namenpc%'
add-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
add &c(playername) &b(idnpc) (hearts)'
already-follow-npc: '&cIm already following you'
onWork: '&cI''m still at work :('
npc-shop-buy: '&cYou successfully purchased the npc for: %price%'
npc-procreate: '&cSet a name for your child using: /npcalive setname (name), if you
want to cancel this action use /npcalive cancel'
add-notnullhearts: '&cError, you have not entered the number of hearts to set! &buse:
/npcalive add (playername) (idnpc) &c(hearts)'
player-not-found: '&cPlayer not found'
max-wife-limit: '&cYou have exceeded the maximum limit of allowed handcuffs'
cant-marry-your-son: '&cYou cannot marry your child'
action-cancele: '&cAction canceled'
notonlineplayer: '&cThe player is not online!'
npc-hide: '&cThe npc has been hidden or saved correctly'
npc-created: '&cNPC successfully created'
success-set-hearts: '&6Hearts set successfully!'
worldNotAllowed: '&cInteraction with npc is not allowed in this world!'
SuccessPrefix: '&2&lNPCAlive &8'
success-remove-hearts: '&6Hearts removed successfully!'
remove-notnullhearts: '&cError, you have not entered the number of hearts to delete!
&buse: /npcalive remove (playername) (idnpc) &c(hearts)'
npc-not-found: '&cNPC not found'
set-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
set (playername) &c(idnpc) &b(hearts)'
npc-onWork: '&cYou have a npc currently working, wait for me to come back to access
another job'
npc-not-family: '&cThis npc is not part of your family, you can''t make a home for
it '
remove-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
remove (playername) &c(idnpc) &b(hearts)'
notnullnpcname: '&cError, you have not entered the name of npc!'
reload: '&cReloaded configuration'
namenpc: '&6%namenpc%&7:'
MessagePrefix: '&7[&eNPCAlive&7]'
hearts: '&c%hearts%'
npc-notsethome: '&cThis npc is not a home set, set one using: /npcalive sethome (namenpc)'
follow-npc: '&cI follow you wherever you want'
action-canceled: '&6Action canceled'
success-add-hearts: '&6Hearts added successfully!'
inventory-full: '&cYou have the complete inventory, free up a space and try again'
invalid-gift: '&cI dont recognize this gift'
npc-select: '&cNPC selected correctly'
already-unfollow-npc: '&cIm not following you anymore'
work-level-max: '&cYou have reached the maximum work level'
notnull-npcson-name: '&cYou must assign a name to your son or daughter, use: /npcalive
setname (name)'
set-notnullnick: '&cError, you have not entered the name of player! &buse: /npcalive
set &c(playername) &b(idnpc) (hearts)'
you-cant-have-children: '&cYou still cant have children'
add-notnullidnpc: '&cError, you have not entered the id of the npc! &buse: /npcalive
add (playername) &c(idnpc) &b(hearts)'
npc-release: '&cThe npc has been successfully released'
set-npc-skin-message: 'Use the command: /npcalive setskin (name) to set a skin to
npc, for example: /npcalive setskin ShotCraft3x. To cancel use /npcalive cancel'
have-a-child-inventory: '&cCongratulations to %nameplayer% you have received your
child in the inventory, when you are ready just put him on the floor'
work-level-up-npcjob-nomoney: '&cYou don''t have enough money to improve this skill'
resetDB: '&6You have successfully removed all data from the database!'
procreate-not-ready: '&cYou have not yet activated the procreate function'
not-ready-to-get-married: '&cExcuse me ?, Im not ready yet to get married, first we
must know each other better'
setHome-npc: '&cNPC home successfully established'
work-level-min: '&cYou can no longer lower the level of work'
wedding-message: '&cCongratulations to %nameplayer% for marrying with %namenpc%'
particle-toggle: '&6Particles disabled!'
notfoundnpc: '&cThe NPC ID entered is not correct'
set-notnullhearts: '&cError, you have not entered the number of hearts to set! &buse:
/npcalive set (playername) (idnpc) &c(hearts)'
notnumerichearts: '&cError, the number of hearts to set must be a numeric value!'
successfully-married-npc: '&cThis is the best day of my life'
resetDB-player: '&6You deleted all player %player% data from the database with successfully!'
skin-reset: '&cSkin restored successfully'
Only a new translation has been added which is:
skin-reset: '&cSkin restored successfully'
With this update it is expected to fix the skin loss, that is, to recover the skin of an npc you must right click on the skin function within the interaction menu.
Future updates are coming, how to equip an npc and more!
Some functions of the store have been updated,
so I ask you to delete the guishop.yml file so that in this way the new file is loaded
The new function allows you to better set the gifts or items that a player gives to an npc. In addition, it also allows you to set the number of hearts that such a gift offers.
The new store file is:
Code (Text):
# [NPCAlive] - GUISHOP
# To see the format of the positions visit the following link: https://i.ibb.co/8x9SzXJ/position.png
GUI:
open-shop:
title: '&b[&6NPCAlive&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
npc-shop:
type: PUFFERFISH_SPAWN_EGG
name: '&6Purchase NPC'
slot: 2
description:
- ' '
- '&6&lLEFT CLICK &7to view a list of npc'
- '&7that you can purchase!'
owned-npc:
type: CHEST
name: '&6Owned NPC'
slot: 6
description:
- ' '
- '&6&lLEFT CLICK &7to view a list of npc'
- '&7purshased!'
npc-store:
title: '&b[&6NPCAlive-Shop&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
hatsune-miku:
name: '&6&lHatsune Miku'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTQxMDYyOCwKICAicHJvZmlsZUlkIiA6ICI4MmM2MDZjNWM2NTI0Yjc5OGI5MWExMmQzYTYxNjk3NyIsCiAgInByb2ZpbGVOYW1lIiA6ICJOb3ROb3RvcmlvdXNOZW1vIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzJkOWQyNzQzMjI1ODI3MzRmZmYzOGM5ZDQzZWIyMjVhOGViZDQ1NmY4YzY4YTAzZmZkNGIyMWNiYjYwNWM2MDQiCiAgICB9CiAgfQp9
signature: FKCCQ/B8+AZM77m69Ec8ywm/pGSqR0dhOjFSyrhXljdB+X+QqZnIvk1OO0x5jlr3//Ksxk9SbKq1F2L/LB+7DhztHk2XqWMv12Swu58X3LxR9nGUS3KHlp2CYLZ9k7Nt68yWQ92/XL2VG3Rj3yh8DuiSeFzcI7ofkdIKTsYoK/+xWSxH9fuFodirnwXvnPS1ptvZsccxd86lSdQPfod5E17SqFIQsFXDKbnzbnxKIl4XYARKazDqXBaYfVjHIuu01uv36X3woQI18W9tcVJmP1fI9VVZF9BeUebwZUVbXdN77aTxy8fxoajxb4zWB0rb0xRS5fVVJjAw0Zq10b3DWvuAt7Ne5vqTHELuaxjwhNgyoULaFtlTFye/6tznvbWlwS/TW3kJ07WU6pcOBOkeo69dWbV6tzMnneeqReQIjA+FmkJZ8eXuJVb/yNZ5ZP/mDSkdzBjy/wEcqjq16FiaLd3vtZre9XIWwKsYQuprcvKngGmNSSohZy2QHQVx0T+Zlwd5XGSpc0sxUHdZIMm7HeLoWkLvBmbCVuyamPDQX5WuvUDWc+dYUgPZPykIAWQ3rtGQyZL6oCyPb3rvmdvsPoYyDRFTJzdCia68A3Ff8vWZjkp8A/qB2xzwMhrXdPTeCOnjH6LhuouvR4Rxw22khKwGLtSB/YQ9TXbz7nhBXWI=
slot: 10
price: 3500
description-to-buy:
- ' '
- '&bDiamond: &c♥+6'
- '&bGold: &c♥+2'
- '&bEmerald: &c♥+3'
- '&bCake: &c♥+2'
- ' '
- '&6&lPrice: &7$3500'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND: # This is the name of the material
hearts: 3 # This is the number of hearts the item offers.
GOLD_INGOT: # This is the name of the material
hearts: 2 # This is the number of hearts the item offers.
EMERALD: # This is the name of the material
hearts: 3 # This is the number of hearts the item offers.
CAKE: # This is the name of the material
hearts: 2 # This is the number of hearts the item offers.
# You can add as many as you want, as long as you follow the same format
mercenary:
name: '&6&lMercenary'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTI4MTA0NywKICAicHJvZmlsZUlkIiA6ICIzZjM4YmViZGYwMWQ0MjNkYWI4MjczZjUwNGFiNGEyNyIsCiAgInByb2ZpbGVOYW1lIiA6ICJjazM0Nzk0MjM1NzUzNzMxIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2VjNmI0YmVmYzc0NjAzOWZhODdmMGViMTBmZDJhMjRhZmI5NzE3NGE3M2JhY2EwYWNmMGVjNzdlNGM2OTI2YzIiCiAgICB9CiAgfQp9
signature: mmne28Q1FlO+UYoHhHDlTrAvQ0+pxL68x3LRb7XpHuyGqulnu8RIyUThKKXqLsqVW1jnJTgfx5vuUIWnZv7Z5iJxvDkmmB7+dtxfJmII+4UmpNMHEiJP5EsAeCpfgcySDtDCgzeSnrtgSezICbyA9IKyYiYtRfz9S7iUOcgVJ4m0mKzv+pVQL0AxGhaA1YTjPQHYZU5OpTurwIsHSR6AGEl7f3fx/nzka5ENNMgWKf9CvxToWw5P8zkA1ReKynqvN3W7T5B05Q7L31G6lWzLtEYhQs6+nE0OzLyU9Icakq/d0TYrwNtehDqHDwHNkjhba8UDbUB/kddSJhFRptdrr+HkheLhofqiHjb6Fg6By0KyvYep/u+2GgThjhsIO1tiF5acwUd8/X71vXcl2MU+pPtECOG602Unx0FLhmMGyqsVDOp/SIoiLC945nx0iVhNNTRNpiZLt/HWU8vRxsahGnc1UN6VzC3w/OnmHMya+dTlGbqMMM0LRSOqh4NgfFB5FIcFagmg3kOcbUsXKrkgEheIGqwqrho5xdvLkbJ9ix3tyPOcrRre0a3WB59lIemLWD467B/JM24CHisvaFguXupXdMHTy5iPu5KWgBmF1yHLgfaewe+F5gYCbbbCyq0r+fJLucNpK7CI6009zMiqWs0Kj5gcVks69oXwxt9dr3U=
slot: 11
price: 4500
description-to-buy:
- ' '
- '&bDiamond: &c♥+4'
- '&bGold: &c♥+2'
- '&bEmerald: &c♥+3'
- '&bCoal: &c♥+2'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$4500'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 4
GOLD_INGOT:
hearts: 2
EMERALD:
hearts: 3
BREAD:
hearts: 1
COAL:
hearts: 2
evil-mario:
name: '&6&lEvil Mario'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ5MDEzNzY5NywKICAicHJvZmlsZUlkIiA6ICI3MmNiMDYyMWU1MTA0MDdjOWRlMDA1OTRmNjAxNTIyZCIsCiAgInByb2ZpbGVOYW1lIiA6ICJNb3M5OTAiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTIxNTQwNGY4MzhjNzgwMmY4Y2NjZTEwZDM3MzZkODE5ZTBjODE0NDk0MzdiZWVlMmQ1OTEzNzI3OTU1ZTI0MCIKICAgIH0KICB9Cn0=
signature: MhBTgAv0A8SOl8aZcnTDERzbIQRhribLc9+rCwoPJ24CLDBgOQ9F/IaOg0XdaYjC22t2j9OPqpLj+jei51T/mTetZUE7it5y8SKK+7IY+8RBo4uNzttaWA9mLzCCIFNb2paMY/gdelRMINpNiroB0ERE0FMd1VMNpb+mBLlfCPrz+V/s0UDsnPxZzv7dxim67h54P7ct2hRK1SqAjbpNbYUSJteZwNfly1rnZkzvVLhJohFuqNMW4EJ02AU6hhoMZujZY1T0/l7Y0yjBrwR17Z1Omip/r4y6BhZXte9FdC7AdOWP8fqJvlqtt0fJ3ZrowA/+mK8rPYb6mNd64701lpkMNDExElSA3oQmc6cheip9SOOx9ifFSzmOofMep+TFywQc4qMhgap7Cl5sNGfy7FX3jlG0nfojoUANI3ePl+GhgiNegQw7XfL1LP8/+GRB8ZosoDP/cocnDdHSucsxJDjoTtY6uf4UI9ihKLh7Nw2lYGHVJtK4SJlrq9K20uX1mVRvilPEPF8K8UekH0nIn8SBettzENdN/MDS9feHJl/tiDQz8Es1BRGvYM9btIlh4JqtjonKxcUmQysmn8Zpvolcxj44cn8Z/UcpXImzLF58ClbFtSJzLUiqaReT2iPveXLUQWkyEJkyMRy7QoCzo0YQa8WcSBL5HZGSdydfVF8=
slot: 12
price: 4300
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bRed mushroom: &c♥+4'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$4300'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
RED_MUSHROOM:
hearts: 4
batman:
name: '&6&lBatman'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTUxMDUyOCwKICAicHJvZmlsZUlkIiA6ICJjZGM5MzQ0NDAzODM0ZDdkYmRmOWUyMmVjZmM5MzBiZiIsCiAgInByb2ZpbGVOYW1lIiA6ICJSYXdMb2JzdGVycyIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS80OWRjYWNiZWYwNzNmNThlY2JhNWUyOGViZjg4ZjMyZmIwNmU3MjRiYzI4NWFkNDk5M2VjODAxNGFiMGI4MGY4IgogICAgfQogIH0KfQ==
signature: IHvxn/rDSm5OAlYxBnh0MKErFadY+81ePRAw2hhG5kgpOD1Lk1RkmvNGHu7DRp3YFdFQqXA8Jq73fQ/pSoyFQuPDHnbUZoP6lvkNzIaNE81KXXv3jUWDebflcLTLy/HPY5dRMxvguuI4I6baMbcc8lR/vjuv0SEIUflYo8dbz8puKYn8OnkUdBeGCYbzpo4IIXgnRLnk/KT4NKiP1aT5b15IGhpd+u4nhxxLErAZjbf+Wdf+K4+M14bwVn9R6ugkbTA5KGXV+Fk4pxklGe58gkEJQeD3wv2c0cRhVlX5WGOkoi/nI+c5J6ydul2NaS3pXW4TYDsrWZd/vAwI44ELCa3YR3yHcXS0/UgRWXc4pAvhdu5NbaZW14npC9oIhoLdOQcj/qOTBq8FEXi/9/9t0ViGspXaQPnpktFl8ZC0PP8z65oY/QlZqipRfhIvwOnJDCgL/t9HcYETlja1oOvOrkC9fg8iCZ5RUdvjQeEo5QV7iSOn40kxs4+J4pomUo8A8k7W4wnjJS+vLmBoT1k+n+WVW3vjFeMIMvlo1l6//ACMx9I6dpUCOnYJudngRaLcxkW7aWgiPyX0J3fK6268ATpULYGa6XpY804z64c0jQT6nynryH4caIiPqkhMV44yVp0fr/iyHySr5e3eSuzwy9dQE2sA+yr/8E9M5WrW5z0=
slot: 13
price: 5300
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bWither skeleton skull: &c♥+8'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$5300'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
WITHER_SKELETON_SKULL:
hearts: 8
deadpool:
name: '&6&lDeadpool'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTYyNDE4MywKICAicHJvZmlsZUlkIiA6ICJmMGIzYmRkMjEwNDg0Y2VlYjZhNTQyYmZiOGEyNTdiMiIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbm9uaW1ZVFQiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQxN2EyMTBhMzJhMmE2YWZlZDRiMmVlZmQyNDI1MGJlMzkyMTY3MDkyYzg2NmE4Mjk3ODJmNGFkNTI0MTcyNyIKICAgIH0KICB9Cn0=
signature: YgoXfNH7dLzelpHkNy80vABMtiOe3BqAnFo9aQL9Bnj/97Y2tobKfFdPkmLoe1fjNQtR1yuEcQqMR3MwEW/jQiZsCa1g1e2lX0U9Wa8jA+irgUgYAvn8Il/8IWF2bldiVbkZ1czPXy/Bo2vEtPaE27CXCUO5KktNbHbGyRy0bgL/jpx9+C87OqkQPer3l15O4koMBfnRZWxpoXWpsQibNsU/pSILbqvHsEE+R+QAueHlEShAu/Z+ObVy+yJc+vbxoKa5cnPJiBr4XxxjaEJm3trZXr6uQxz+Q8Z/+kys+rFoX29B0gI91OjHZmKZ26WLzvpQGknStJIIm3L92dKvC0886Pnj4mwq+MmPj0yTLUu+FO1bomGiUyBpKgX2UJfNJJAXY9fBfPlYbvE3BuMcWCMpLH9ibEQv5QQW+CLbWnGuulCh4eRvie51fUpn//IicTHEhax/xJBb51HD15YxOzZgnWw0GPDayYAXat08STdqvNSFeWcr0eCNn2cGxBdbNKWLmyluuvjpRmfXu3ugoRb0d9fsODtLbt3VM8kqTfcR/pnNSOTqAxR7VZVwj4Me7aM40RhGKtCLmTrdMSV6yQZc/Q9COngpFJKX/ddCRshygcYGWobW9R+vNQrrTrXg6+QwrXhT03Gn6819pKy4powm19zPgXg3w3F1tP8EMYU=
slot: 14
price: 7000
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bCreeper skull: &c♥+12'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$7000'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
CREEPER_HEAD:
hearts: 12
back:
name: '&6&lBack'
type: BARRIER
slot: 45
description:
- ' '
- '&6&lLEFT CLICK &7to go back to the previous page.'
owned-npc:
title: '&b[&6NPCAlive-Purshased&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
back:
name: '&6&lBack'
type: BARRIER
slot: 45
description:
- ' '
- '&6&lLEFT CLICK &7to go back to the previous page.'
Known bugs: There is a bug (which does not always happen) with the npc skins, I am trying to solve that.
Any separate bug or error, don't hesitate to contact me via spigot or discord.
Some functions of the store have been updated,
so I ask you to delete the guishop.yml file so that in this way the new file is loaded
The new function allows you to better set the gifts or items that a player gives to an npc. In addition, it also allows you to set the number of hearts that such a gift offers.
The new store file is:
Code (Text):
# [NPCAlive] - GUISHOP
# To see the format of the positions visit the following link: https://i.ibb.co/8x9SzXJ/position.png
GUI:
open-shop:
title: '&b[&6NPCAlive&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
npc-shop:
type: PUFFERFISH_SPAWN_EGG
name: '&6Purchase NPC'
slot: 2
description:
- ' '
- '&6&lLEFT CLICK &7to view a list of npc'
- '&7that you can purchase!'
owned-npc:
type: CHEST
name: '&6Owned NPC'
slot: 6
description:
- ' '
- '&6&lLEFT CLICK &7to view a list of npc'
- '&7purshased!'
npc-store:
title: '&b[&6NPCAlive-Shop&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
hatsune-miku:
name: '&6&lHatsune Miku'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTQxMDYyOCwKICAicHJvZmlsZUlkIiA6ICI4MmM2MDZjNWM2NTI0Yjc5OGI5MWExMmQzYTYxNjk3NyIsCiAgInByb2ZpbGVOYW1lIiA6ICJOb3ROb3RvcmlvdXNOZW1vIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzJkOWQyNzQzMjI1ODI3MzRmZmYzOGM5ZDQzZWIyMjVhOGViZDQ1NmY4YzY4YTAzZmZkNGIyMWNiYjYwNWM2MDQiCiAgICB9CiAgfQp9
signature: FKCCQ/B8+AZM77m69Ec8ywm/pGSqR0dhOjFSyrhXljdB+X+QqZnIvk1OO0x5jlr3//Ksxk9SbKq1F2L/LB+7DhztHk2XqWMv12Swu58X3LxR9nGUS3KHlp2CYLZ9k7Nt68yWQ92/XL2VG3Rj3yh8DuiSeFzcI7ofkdIKTsYoK/+xWSxH9fuFodirnwXvnPS1ptvZsccxd86lSdQPfod5E17SqFIQsFXDKbnzbnxKIl4XYARKazDqXBaYfVjHIuu01uv36X3woQI18W9tcVJmP1fI9VVZF9BeUebwZUVbXdN77aTxy8fxoajxb4zWB0rb0xRS5fVVJjAw0Zq10b3DWvuAt7Ne5vqTHELuaxjwhNgyoULaFtlTFye/6tznvbWlwS/TW3kJ07WU6pcOBOkeo69dWbV6tzMnneeqReQIjA+FmkJZ8eXuJVb/yNZ5ZP/mDSkdzBjy/wEcqjq16FiaLd3vtZre9XIWwKsYQuprcvKngGmNSSohZy2QHQVx0T+Zlwd5XGSpc0sxUHdZIMm7HeLoWkLvBmbCVuyamPDQX5WuvUDWc+dYUgPZPykIAWQ3rtGQyZL6oCyPb3rvmdvsPoYyDRFTJzdCia68A3Ff8vWZjkp8A/qB2xzwMhrXdPTeCOnjH6LhuouvR4Rxw22khKwGLtSB/YQ9TXbz7nhBXWI=
slot: 10
price: 3500
description-to-buy:
- ' '
- '&bDiamond: &c♥+6'
- '&bGold: &c♥+2'
- '&bEmerald: &c♥+3'
- '&bCake: &c♥+2'
- ' '
- '&6&lPrice: &7$3500'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND: # This is the name of the material
hearts: # This is the number of hearts the item offers.
GOLD_INGOT: # This is the name of the material
hearts: 2 # This is the number of hearts the item offers.
EMERALD: # This is the name of the material
hearts: 3 # This is the number of hearts the item offers.
CAKE: # This is the name of the material
hearts: 2 # This is the number of hearts the item offers.
# You can add as many as you want, as long as you follow the same format
mercenary:
name: '&6&lMercenary'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTI4MTA0NywKICAicHJvZmlsZUlkIiA6ICIzZjM4YmViZGYwMWQ0MjNkYWI4MjczZjUwNGFiNGEyNyIsCiAgInByb2ZpbGVOYW1lIiA6ICJjazM0Nzk0MjM1NzUzNzMxIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2VjNmI0YmVmYzc0NjAzOWZhODdmMGViMTBmZDJhMjRhZmI5NzE3NGE3M2JhY2EwYWNmMGVjNzdlNGM2OTI2YzIiCiAgICB9CiAgfQp9
signature: mmne28Q1FlO+UYoHhHDlTrAvQ0+pxL68x3LRb7XpHuyGqulnu8RIyUThKKXqLsqVW1jnJTgfx5vuUIWnZv7Z5iJxvDkmmB7+dtxfJmII+4UmpNMHEiJP5EsAeCpfgcySDtDCgzeSnrtgSezICbyA9IKyYiYtRfz9S7iUOcgVJ4m0mKzv+pVQL0AxGhaA1YTjPQHYZU5OpTurwIsHSR6AGEl7f3fx/nzka5ENNMgWKf9CvxToWw5P8zkA1ReKynqvN3W7T5B05Q7L31G6lWzLtEYhQs6+nE0OzLyU9Icakq/d0TYrwNtehDqHDwHNkjhba8UDbUB/kddSJhFRptdrr+HkheLhofqiHjb6Fg6By0KyvYep/u+2GgThjhsIO1tiF5acwUd8/X71vXcl2MU+pPtECOG602Unx0FLhmMGyqsVDOp/SIoiLC945nx0iVhNNTRNpiZLt/HWU8vRxsahGnc1UN6VzC3w/OnmHMya+dTlGbqMMM0LRSOqh4NgfFB5FIcFagmg3kOcbUsXKrkgEheIGqwqrho5xdvLkbJ9ix3tyPOcrRre0a3WB59lIemLWD467B/JM24CHisvaFguXupXdMHTy5iPu5KWgBmF1yHLgfaewe+F5gYCbbbCyq0r+fJLucNpK7CI6009zMiqWs0Kj5gcVks69oXwxt9dr3U=
slot: 11
price: 4500
description-to-buy:
- ' '
- '&bDiamond: &c♥+4'
- '&bGold: &c♥+2'
- '&bEmerald: &c♥+3'
- '&bCoal: &c♥+2'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$4500'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 4
GOLD_INGOT:
hearts: 2
EMERALD:
hearts: 3
BREAD:
hearts: 1
COAL:
hearts: 2
evil-mario:
name: '&6&lEvil Mario'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ5MDEzNzY5NywKICAicHJvZmlsZUlkIiA6ICI3MmNiMDYyMWU1MTA0MDdjOWRlMDA1OTRmNjAxNTIyZCIsCiAgInByb2ZpbGVOYW1lIiA6ICJNb3M5OTAiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTIxNTQwNGY4MzhjNzgwMmY4Y2NjZTEwZDM3MzZkODE5ZTBjODE0NDk0MzdiZWVlMmQ1OTEzNzI3OTU1ZTI0MCIKICAgIH0KICB9Cn0=
signature: MhBTgAv0A8SOl8aZcnTDERzbIQRhribLc9+rCwoPJ24CLDBgOQ9F/IaOg0XdaYjC22t2j9OPqpLj+jei51T/mTetZUE7it5y8SKK+7IY+8RBo4uNzttaWA9mLzCCIFNb2paMY/gdelRMINpNiroB0ERE0FMd1VMNpb+mBLlfCPrz+V/s0UDsnPxZzv7dxim67h54P7ct2hRK1SqAjbpNbYUSJteZwNfly1rnZkzvVLhJohFuqNMW4EJ02AU6hhoMZujZY1T0/l7Y0yjBrwR17Z1Omip/r4y6BhZXte9FdC7AdOWP8fqJvlqtt0fJ3ZrowA/+mK8rPYb6mNd64701lpkMNDExElSA3oQmc6cheip9SOOx9ifFSzmOofMep+TFywQc4qMhgap7Cl5sNGfy7FX3jlG0nfojoUANI3ePl+GhgiNegQw7XfL1LP8/+GRB8ZosoDP/cocnDdHSucsxJDjoTtY6uf4UI9ihKLh7Nw2lYGHVJtK4SJlrq9K20uX1mVRvilPEPF8K8UekH0nIn8SBettzENdN/MDS9feHJl/tiDQz8Es1BRGvYM9btIlh4JqtjonKxcUmQysmn8Zpvolcxj44cn8Z/UcpXImzLF58ClbFtSJzLUiqaReT2iPveXLUQWkyEJkyMRy7QoCzo0YQa8WcSBL5HZGSdydfVF8=
slot: 12
price: 4300
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bRed mushroom: &c♥+4'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$4300'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
RED_MUSHROOM:
hearts: 4
batman:
name: '&6&lBatman'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTUxMDUyOCwKICAicHJvZmlsZUlkIiA6ICJjZGM5MzQ0NDAzODM0ZDdkYmRmOWUyMmVjZmM5MzBiZiIsCiAgInByb2ZpbGVOYW1lIiA6ICJSYXdMb2JzdGVycyIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS80OWRjYWNiZWYwNzNmNThlY2JhNWUyOGViZjg4ZjMyZmIwNmU3MjRiYzI4NWFkNDk5M2VjODAxNGFiMGI4MGY4IgogICAgfQogIH0KfQ==
signature: IHvxn/rDSm5OAlYxBnh0MKErFadY+81ePRAw2hhG5kgpOD1Lk1RkmvNGHu7DRp3YFdFQqXA8Jq73fQ/pSoyFQuPDHnbUZoP6lvkNzIaNE81KXXv3jUWDebflcLTLy/HPY5dRMxvguuI4I6baMbcc8lR/vjuv0SEIUflYo8dbz8puKYn8OnkUdBeGCYbzpo4IIXgnRLnk/KT4NKiP1aT5b15IGhpd+u4nhxxLErAZjbf+Wdf+K4+M14bwVn9R6ugkbTA5KGXV+Fk4pxklGe58gkEJQeD3wv2c0cRhVlX5WGOkoi/nI+c5J6ydul2NaS3pXW4TYDsrWZd/vAwI44ELCa3YR3yHcXS0/UgRWXc4pAvhdu5NbaZW14npC9oIhoLdOQcj/qOTBq8FEXi/9/9t0ViGspXaQPnpktFl8ZC0PP8z65oY/QlZqipRfhIvwOnJDCgL/t9HcYETlja1oOvOrkC9fg8iCZ5RUdvjQeEo5QV7iSOn40kxs4+J4pomUo8A8k7W4wnjJS+vLmBoT1k+n+WVW3vjFeMIMvlo1l6//ACMx9I6dpUCOnYJudngRaLcxkW7aWgiPyX0J3fK6268ATpULYGa6XpY804z64c0jQT6nynryH4caIiPqkhMV44yVp0fr/iyHySr5e3eSuzwy9dQE2sA+yr/8E9M5WrW5z0=
slot: 13
price: 5300
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bWither skeleton skull: &c♥+8'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$5300'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
WITHER_SKELETON_SKULL:
hearts: 8
deadpool:
name: '&6&lDeadpool'
texture: ewogICJ0aW1lc3RhbXAiIDogMTYyMDQ4OTYyNDE4MywKICAicHJvZmlsZUlkIiA6ICJmMGIzYmRkMjEwNDg0Y2VlYjZhNTQyYmZiOGEyNTdiMiIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbm9uaW1ZVFQiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQxN2EyMTBhMzJhMmE2YWZlZDRiMmVlZmQyNDI1MGJlMzkyMTY3MDkyYzg2NmE4Mjk3ODJmNGFkNTI0MTcyNyIKICAgIH0KICB9Cn0=
signature: YgoXfNH7dLzelpHkNy80vABMtiOe3BqAnFo9aQL9Bnj/97Y2tobKfFdPkmLoe1fjNQtR1yuEcQqMR3MwEW/jQiZsCa1g1e2lX0U9Wa8jA+irgUgYAvn8Il/8IWF2bldiVbkZ1czPXy/Bo2vEtPaE27CXCUO5KktNbHbGyRy0bgL/jpx9+C87OqkQPer3l15O4koMBfnRZWxpoXWpsQibNsU/pSILbqvHsEE+R+QAueHlEShAu/Z+ObVy+yJc+vbxoKa5cnPJiBr4XxxjaEJm3trZXr6uQxz+Q8Z/+kys+rFoX29B0gI91OjHZmKZ26WLzvpQGknStJIIm3L92dKvC0886Pnj4mwq+MmPj0yTLUu+FO1bomGiUyBpKgX2UJfNJJAXY9fBfPlYbvE3BuMcWCMpLH9ibEQv5QQW+CLbWnGuulCh4eRvie51fUpn//IicTHEhax/xJBb51HD15YxOzZgnWw0GPDayYAXat08STdqvNSFeWcr0eCNn2cGxBdbNKWLmyluuvjpRmfXu3ugoRb0d9fsODtLbt3VM8kqTfcR/pnNSOTqAxR7VZVwj4Me7aM40RhGKtCLmTrdMSV6yQZc/Q9COngpFJKX/ddCRshygcYGWobW9R+vNQrrTrXg6+QwrXhT03Gn6819pKy4powm19zPgXg3w3F1tP8EMYU=
slot: 14
price: 7000
description-to-buy:
- ' '
- '&bDiamond: &c♥+5'
- '&bGold: &c♥+4'
- '&bEmerald: &c♥+3'
- '&bCreeper skull: &c♥+12'
- '&bBread: &c♥+1'
- ' '
- '&6&lPrice: &7$7000'
- '&6&lLEFT CLICK &7to buy'
- ' '
description-purchased:
- ' '
- '&6&lLEFT CLICK &7to call'
- '&6&lRIGHT CLICK &7to hide'
- ' '
gifts:
DIAMOND:
hearts: 5
GOLD_INGOT:
hearts: 4
EMERALD:
hearts: 3
BREAD:
hearts: 1
CREEPER_HEAD:
hearts: 12
back:
name: '&6&lBack'
type: BARRIER
slot: 45
description:
- ' '
- '&6&lLEFT CLICK &7to go back to the previous page.'
owned-npc:
title: '&b[&6NPCAlive-Purshased&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
back:
name: '&6&lBack'
type: BARRIER
slot: 45
description:
- ' '
- '&6&lLEFT CLICK &7to go back to the previous page.'
Known bugs: There is a bug (which does not always happen) with the npc skins, I am trying to solve that.
Any separate bug or error, don't hesitate to contact me via spigot or discord.
A new interaction has been added, so I ask you to delete the following files before updating: - interactions_en.yml - interactions_en.yml - interactions_fr.yml - guiinteractions.yml
In this way the new ones are loaded and you will be able to access this new interaction in the "interactions" menu with the npc
The new permission for the interaction is:
- npcalive.advice
A new section has been added in the configuration, so I ask that if you do not see it, delete the config.yml file and load the new one, although it should load itself.
The new section of the config is:
Code (Text):
# Enable or disable interaction with npc
npc-interaction:
enable: false
# If this value is true,it means that the players will only be able to interact with the npc created with npcalive, that is,
# the npc that the players buy from the store using the '/npcalive shop' command.
# This feature also includes that players can only interact with the npc that they create themselves, thus also preventing npc theft from happening.
# if it is false, it means the players will be able to interact with all the npc on the server, this mode is freer with the interaction of npc, rather a more realistic mode.
# --------------------------------------------------------------------------------------------------------------------
# Sets the number of children allowed per player
children-allowed-per-player: 2
npc-head-lore: 'NPCAlive - Child/Daughter' # This description is very important for the correct functioning of the plugin, that is, it should not be blank.
# --------------------------------------------------------------------------------------------------------------------
New permissions have also been added, for the main interaction with the npc, which are:
- npcalive.unfollow
- npcalive.follow
- npcalive.gift
- npcalive.skin
- npcalive.inventory - Access the npc inventory, remember that the npc must be part of your family
- npcalive.interact
With these permissions, it is hoped that you can say what options you want the players to interact with the npc.
As for the store, the permissions were also added:
npcalive.shop
npcalive.shop.buy
npcalive.shop.buy.(quantity)
example: npc.shop.buy.2
The maximum is 20.
A new section has been added in the configuration, so I ask that if you do not see it, delete the config.yml file and load the new one, although it should load itself.
The new section of the config is:
Code (Text):
# Enable or disable interaction with npc
npc-interaction:
enable: false
# If this value is true,it means that the players will only be able to interact with the npc created with npcalive, that is,
# the npc that the players buy from the store using the '/npcalive shop' command.
# This feature also includes that players can only interact with the npc that they create themselves, thus also preventing npc theft from happening.
# if it is false, it means the players will be able to interact with all the npc on the server, this mode is freer with the interaction of npc, rather a more realistic mode.
# --------------------------------------------------------------------------------------------------------------------
# Sets the number of children allowed per player
children-allowed-per-player: 2
npc-head-lore: 'NPCAlive - Child/Daughter' # This description is very important for the correct functioning of the plugin, that is, it should not be blank.
# --------------------------------------------------------------------------------------------------------------------
New permissions have also been added, for the main interaction with the npc, which are:
- npcalive.unfollow
- npcalive.follow
- npcalive.gift
- npcalive.skin
- npcalive.inventory - Access the npc inventory, remember that the npc must be part of your family
- npcalive.interact
With these permissions, it is hoped that you can say what options you want the players to interact with the npc.
The store has been added! You just have to use the /npcalive shop command
The permissions are as follows:
Shop permissions
npcalive.shop -> Allows access to the store
npcalive.shop.buy -> Allows buy in the store
npcalive.shop.call -> Allows call an npc you purchased
More information about this new feature, on the main page of the plugin in spigot and on the wiki.
Any error or possible bug, send me a private message or contact me via discord
Bug fixes and improvements to the code.
Before loading this new version,
delete the "guiinteractions.yml" file as it has been renewed. This way the new file will be loaded and the error will be fixed.
New feature adds and improvements to the code.
Before loading this new version,
delete the "gui.yml" file as it has been renewed. To load the new file where it brings the new inventory function.
Code (Text):
# [NPCAlive] - GUI
# You can only change the position of the glass panels
# To see the format of the positions visit the following link: https://i.ibb.co/8x9SzXJ/position.png
# You can add or delete a pane section, as you like.
# You can change the material, to the one you want, visit this link to know which one to choose: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
GUI:
open-npcgui:
title: '&b[&6NPCAlive&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
Pane0:
type: BLACK_STAINED_GLASS_PANE
slot: 0
Pane1:
type: BLACK_STAINED_GLASS_PANE
slot: 1
Pane2:
type: BLACK_STAINED_GLASS_PANE
slot: 2
Pane3:
type: BLACK_STAINED_GLASS_PANE
slot: 3
Pane4:
type: BLACK_STAINED_GLASS_PANE
slot: 4
Pane5:
type: BLACK_STAINED_GLASS_PANE
slot: 5
Pane6:
type: BLACK_STAINED_GLASS_PANE
slot: 6
Pane7:
type: BLACK_STAINED_GLASS_PANE
slot: 7
Pane8:
type: BLACK_STAINED_GLASS_PANE
slot: 8
Pane9:
type: BLACK_STAINED_GLASS_PANE
slot: 9
Pane18:
type: BLACK_STAINED_GLASS_PANE
slot: 18
Pane26:
type: BLACK_STAINED_GLASS_PANE
slot: 26
Pane27:
type: BLACK_STAINED_GLASS_PANE
slot: 27
Pane17:
type: BLACK_STAINED_GLASS_PANE
slot: 17
Pane35:
type: BLACK_STAINED_GLASS_PANE
slot: 35
Pane36:
type: BLACK_STAINED_GLASS_PANE
slot: 36
Pane37:
type: BLACK_STAINED_GLASS_PANE
slot: 37
Pane38:
type: BLACK_STAINED_GLASS_PANE
slot: 38
Pane42:
type: BLACK_STAINED_GLASS_PANE
slot: 42
Pane43:
type: BLACK_STAINED_GLASS_PANE
slot: 43
Pane44:
type: BLACK_STAINED_GLASS_PANE
slot: 44
interact:
type: WHITE_WOOL
name: '&fInteract'
slot: 20
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
stay-here:
type: GRAY_WOOL
name: '&fStay here'
slot: 21
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
follow:
type: RED_WOOL
name: '&fFollow'
slot: 22
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
gift:
type: BLUE_WOOL
name: '&fGift'
slot: 23
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
skin:
type: YELLOW_WOOL
name: '&fSkin'
slot: 24
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
chest:
type: CHEST
name: '&6&lInventory'
slot: 31
description:
- ' '
- '&6NPC Inventory'
- '&6LEFT CLICK &7to access'
- ' '
relation:
type: GOLD_INGOT
name: '&fRelation Ship&7: &b%relationship%'
slot: 39
description:
- ' '
- '&6Relationship level'
- '&6with the npc'
hearts:
type: APPLE
name: '&fHearts&7: &c%hearts%'
slot: 40
description:
- ' '
- '&6The more hearts the better'
- '&6the relationship with the npc '
info:
type: IRON_INGOT
name: '&fInformation&7: &b%info%'
slot: 41
description:
- ' '
A new command has been added where you can create an npc without using the citizens commands, the command is as follows: / npcalive create (name)
Another command was also added to release an npc, the command is as follows: /npcalive release (namenpc)
Finally, the config file was updated, where 2 new configurations were added:
Code (Text):
# If true, the npc will be removed from the server by using the /npcalive release (namenpc) command.
# If it is false, only the information related to the npc with the player will be deleted, and the npc will be free.
npc-remove-command:
enable: false
# Set a limit on how much npc a player can create with the command /npcalive create (namenpc)
npc-creation-limit: 2
npc-creation-lore: 'Just put it on the ground and the npc will appear' # This text corresponds to the description that is added to the head when you use the /npcalive create command
Added 2 very important new features! So if you are using this plugin it is very important
that you only backup the files where the messages of chat interactions are: tell a joke, tell a story, kiss, flirt, hug. Delete the other files! including the NPCAlive.db database.
I insist, it is very important that you delete those files so that possible errors are avoided.
Also this update is very important.
Added the feature of establishing a home! you can use the command / npcalive sethome (name npc) and you establish a home to the npc, in this way it is avoided that when the server is shut down or restarted the npc does not disappear and go somewhere else.
Jobs were also added to the npc! you can make only 1 npc work at a time! you can improve its level of work and make it bring you good rewards that you can set in config.yml file
Demo video
This is the first big update, there may be errors but they will be solving! Working for more!
The order of the messages has been changed a bit, now a new file will be created called interactions.yml. In this file are all the messages of the interactions with the npc. In this way it is more orderly to add new messages.
Added a new feature! this is the whistle! You can craft a whistle to be able to call your family, that is, your wife or husband and your children and they will come to you!
To apply this new function, you must delete your config.yml file and load the new configuration file
Working for more! remember to leave your positive review!
Next update, textures on the heads! when using the whistle
The option recommended by Rangel12 was added
- New option in the configuration where you can write the worlds where interactions with the npc will be disabled!
To apply this new function, you must delete your config.yml file
- It was also added the function that when interacting with an npc, it will look at you automatically, at the moment it only works for the npc that are not looking at you.
In the same way, if you are already using this plugin, I recommend that you delete your language files so that the correct ones are loaded again, 'messages_es' and 'messages_en'
Now you can craft the ring to be able to marry an npc!!
The recipe is as follows:
With this new feature, the name of the ring can be configured from the config.yml file.
If you are already using this plugin I recommend that you delete your config.yml file and load this new file.
Working for more! Next update will be a whistle to be able to call the npc that are your friends!