- new config option registration-commands-delay that create a delay between every commands after registration
- Added a response message on /documentsadmin give-documents-item from console
- Removed duplicated code
- Improve the registrationCompleted code
- Added new default registration command on config.yml that give documents item as default after registration.
- New config options
- Added new type of giving documents title configurable in config.yml, small improvements to code
- Improvements to reload
YAML:# documents giving type # chat - will send the message # gui - will send the customizable gui in documents_gui.yml # title - will send the title documents-giving-type: "gui" documents-title: title: "<gradient:#F4A3FF:#FBDFFF>%documents_name% %documents_surname%" subtitle: "<gradient:#F4A3FF:#FBDFFF>%documents_age% %documents_gender%" fade-in: 2 # in seconds fade-out: 2 # in seconds stay: 2 # in seconds
- New configuration option: prevent-closing-gui: true, while true prevents the closing of anvils' GUI.
- Improved name and surname system (now behaves correctly).
- Documents now use an inventory framework for guis
- Fixxed other problems caused by floodgate
- Now interacting with documents item give documents trought a gui
- new gui on documentsgui.yml (need to be added manually)
- Added new cooldown message for documents giving
- Now /documents give <player> have a cooldown and give a gui
- Improvements to placeholders, now we have %documents_surname% placeholder that give surname and %documents_name% give only the name
- A lot of refactoring and internal changes
YAML:# this documents item gui use placeholders # you can use placeholders from PAPI (PlaceholdrAPI) # in title (gui title), in item displayname and lore. documents_item_gui: title: "<black>ID Cart of %documents_name% %documents_surname%" size: 27 items: example: material: BLACK_STAINED_GLASS_PANE displayname: "<black>" customdata: 0 lore: - "" slots: - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 name_item: # this identifier cannot be changed material: NAME_TAG displayname: "<gradient:#F4A3FF:#FBDFFF>Name %documents_name%" lore: - "<gradient:#F4A3FF:#FBDFFF>This is the name" customdata: 0 slots: - 12 surname_item: # this identifier cannot be changed material: NAME_TAG displayname: "<gradient:#F4A3FF:#FBDFFF>Surname %documents_surname%" lore: - "<gradient:#F4A3FF:#FBDFFF>This is surname" customdata: 0 slots: - 13 gender_item: # this identifier cannot be changed material: NAME_TAG displayname: "<gradient:#F4A3FF:#FBDFFF>Gender %documents_gender%" lore: - "<gradient:#F4A3FF:#FBDFFF>This is the gender" customdata: 0 slots: - 14 age_item: # this identifier cannot be changed material: NAME_TAG displayname: "<gradient:#F4A3FF:#FBDFFF>Age %documents_age%" lore: - "<gradient:#F4A3FF:#FBDFFF>This is the age" customdata: 0 slots: - 15
- Changed colors of default langs and gui files
- Fixxed some missspelling on config.yml
- Added two new option on config.yml open-register-onjoin: false/true
open the documents registration gui- and delay-open-register-onjoin: 6 #seconds
open the documents registration gui while the player joins after a delay (default 6 second)
- Fixxed an issue of using wrong async on document item
- Fixxed an issue on right clicking on a document item
- Refactoring
- Fixxed a bug with /documents register command
