Bug fixes...
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!
Working for more!