Giter Site home page Giter Site logo

luca28pet / advancedkits Goto Github PK

View Code? Open in Web Editor NEW
42.0 24.0 65.0 182 KB

A PocketMine-MP plugin that adds kits to your server with many features and support for UIs and custom enchantments

License: GNU Affero General Public License v3.0

PHP 100.00%
pocketmine-mp-plugin

advancedkits's Introduction

AdvancedKits

A PocketMine-MP plugin that adds kits to your server with many features and support for UIs (FormAPI plugin) and custom enchantments (PiggyCustomEnchants)

Latest release: https://poggit.pmmp.io/p/AdvancedKits/

Latest development phars: https://poggit.pmmp.io/ci/luca28pet/AdvancedKits/AdvancedKits

This plugin only supports PocketMine-MP. It might work on other forks as well, but please Do NOT open issues if you have problems with AdvancedKits and you are using a fork.

Features overview:

  • Highly configurable
  • UI (user interface) support using libFormAPI (already included in the phars)
  • Custom enchantments support using PiggyCustomEnchants plugin
  • Custom permissions support
  • Built in permissions system if you don't want to use any permissions manager (see kits.yml)
  • Economy support: pay to get a kit. Support for EconomyS, PocketMoney and MassiveEconomy
  • Sign support: write a sign to let users get a kit
  • Time limit (cooldown) for kits
  • Option for one kit per life (see config.yml)
  • Execute commands with kits
  • Easy translation system

Commands: The main command: /kit Alias for /kit: /ak, /advancedkits .

  • /kit [kitname] - Selects a kit. If no argument is kit name, opens the UI if possible or display a list of available kits.
  • /akreload - reloads kits.yml (when edited while the server is running)

Signs: To let users get a kit through a sign, you can create one like this: (capitals don't matter)

Line 1: [AdvancedKits]

Line 2: kitname

Line 3 & 4: Whatever you like

The default kit is: testkit. You can add kits editing kits.yml (see "Kit settings").

UI support: You don't need to install the plugin FormAPI as it is already included in the latest phars from poggit. To let users select a kit using a UI, enable 'show-form-no-args' in the config.yml Then, to open the UI, use /kit If you run this plugin in folder format, you will have to use DEVirion and manually install FormAPI, or disable 'show-form-no-args' in the config.yml

Permissions: If 'permissions-mode' in the config.yml is true: with the permission advancedkits.kitname, a player will be able to get the kit named "kitname". Note: in the permission, the kit name HAS to be ALL in lowercase letters. If 'permissions-mode' in the config.yml is false, you can specify in the kits.yml which users (and in which worlds) can get a kit. (see kit settings)

Kit Settings:

In order to add a kit you will need to edit the config kits.yml . If you open that file with bloc notes, you will be not able to edit because it will be all in one line, so open it with WordPad, Notepad ++, ... You can add lots of kits, but remember to keep this format:

testkit:
  # ITEM FORMAT: "id:damage:count:name:ench_name:ench_level"
  # NO enchantments and NO custom name: "id:damage:count"

  # ONLY custom name: "id:damage:count:custom name"

  # ONLY enchantments: "id:damage:count:DEFAULT:enchantment1:level"
  # (Put DEFAULT in the name field if you do not want a custom name)
  # You can put as many enchantments as you want like this: "id:damage:count:DEFAULT:enchantment1:level:enchantment2:level" etc.

  # Enchantments AND custom name: "id:damage:count:custom name:enchantment1:level"
  # You can put as many enchantments as you want like this: "id:damage:count:custom name:enchantment1:level:enchantment2:level" etc.

  # You can write both numeric or string IDs
  items:
  - "260:0:10"
  - "267:0:1:Sword Name"
  helmet: "diamond_helmet:0:1"
  chestplate: "diamond_chestplate:0:1:DEFAULT:protection:1"
  leggings: "diamond_leggings:0:1:Leggings Name"
  boots: "diamond_boots:0:1"

  # Set items for specific slots, will override existing items. Only use if you want to assign items to specific slots, otherwise delete this.
  slots:
    9: "golden_apple:0:5"
    12: "bow:0:1"

  commands:
  - "tell {player} you got an awesome kit thanks to AdvancedKits plugin!"

  cooldown:
    hours: 24
    minutes: 30

  # EFFECT FORMAT: "name:seconds:amplifier"
  effects:
  - "speed:120:2"

  # Add a cost for the kit. Compatible with EconomyAPI, PocketMoney and MassiveEconomy
  # Put 0 if you want the kit to be free
  money: 50

  # If you do not use pureperms, use 'worlds' to specify in which worlds you want this kit to be used
  # Leave blank to let use the kit in all worlds
  worlds:
  - "kitpvp"

  # If you do not use pureperms, use 'users' to specify which players will be able to get this kit
  # Leave blank to let all the players use this kit
  users:
  - "luca28pet"
  - "dioconsole"

  # FormAPI users:
  # Img type: 'url' or 'path'
  img-type: ''
  # Put here the image URL/path
  img-data: ''
  # How the kit is displayed on the form
  form-name: 'Test Kit: 50$'

You can find a list of available enchantments in the file Enchantment.php in the pmmp source code: https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/item/enchantment/Enchantment.php

If you don't specify users or world, then the kit will be available to all users or in all worlds. If 'permissions-mode' in the config.yml is true, these parameters will be ignored

Translations:

You can easily translate plugin messages by editing the lang.properties file inside the plugin folder. Remember to don't change the "lang-version" parameter, as it is used for internal proposes.

Config:

---
# Users are able to get only one kit per life
one-kit-per-life: true

# Users are able to get a kit if they log out even if they did not die (only works if one-kit-per-life: true)
reset-on-logout: true

# Use built in permission system even if using PurePerms
force-builtin-permissions: false

# Sign text (capitals and color codes don't matter)
sign-text: "[AdvancedKits]"
...

advancedkits's People

Contributors

luca28pet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advancedkits's Issues

Crash

PocketMine-MP Crash Dump Sun Aug 9 11:30:09 UTC 2015

Error: Call to a member function reduceMoney() on boolean
File: /AdvancedKits_v3.phar/src/AdvancedKits/EconomyManager
Line: 30
Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: AdvancedKits v3

Code:
[21] }
[22] }
[23]
[24] public function grantKit(Player $player, $money){
[25] if(is_null($this->economy)){
[26] return false;
[27] }
[28] switch($this->economy){
[29] case "EconomyAPI":
[30] if($this->api->reduceMoney($player, $money) === 1){
[31] return true;
[32] }
[33] break;
[34] case "PocketMoney":
[35] if($this->api->getMoney($player->getName()) < $money){
[36] return false;
[37] }
[38] if($this->api->setMoney($player->getName(), $this->api->getMoney($player->getName()) - $money)){
[39] return true;
[40] }

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

PocketMine-MP version: 1.6dev #0 [Protocol 33; API 1.13.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux localhost 3.4.5-4439001 #1 SMP PREEMPT Fri Mar 20 20:34:59 KST 2015 armv7l
PHP Version: 5.6.2
Zend version: 2.6.0
OS : Linux, android

Loaded plugins:
ZipPluginLoader 1.1.2 by aliuly for API(s) 1.10.0
SignPortal 1.1.2 by 99leonchang for API(s) 1.3.1
EasyMOTD 1.0a by LDX for API(s) 1.12.0
AdvancedKits 3 by luca28pet for API(s) 1.12.0
PurePerms 1.1.7 by 64FF00 for API(s) 1.12.0
WorldEditArt 1.0.0_beta_dev_#048 by PEMapModder for API(s) 1.0.0
ManyWorlds 2.0.1 by aliuly for API(s) 1.10.0
EmptyWorld 1.0.0 by aliuly for API(s) 1.12.0
SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0
GrabBag 2.2.7 by aliuly for API(s) 1.10.0, 1.11.0, 1.12.0
CommandTracker 1.0.1 by Scott Handley for API(s) 1.10.0
KillHeart 1.0.0 by BukkitPlaysMC for API(s) 1.0.0
EconomyAPI 2.0.7 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
CustomAreas 1 by luca28pet for API(s) 1.12.0
SignStatus 2 by xpyctum for API(s) 1.0.0
VoteBan 1.0.2 by GmWM for API(s) 1.12.0
NetherChests 1.1.1 by aliuly for API(s) 1.12.0
CombatLogger 1.2.0 by Lambo for API(s) 1.12.0
PocketDockConsole 0.0.14 by humerusj for API(s) 1.0.0
SimpleAuthHelper 1.3.0dev2 by aliuly for API(s) 1.10.0
FactionsPro 1.4.1 by Tethered_, HostingItAll.com for API(s) 1.12.0
KillRate 1.2.3 by aliuly for API(s) 1.10.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP===
eNrNW4lvGze6/1f4lAJ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mGM4mhVytUHvcTrw64qAGkT6JvnlcGssPodOP8UP6sr7MJt5e
DZ+wo1NrgDzxXGWu2z+GppneInl3d/cYwShELrcyn91LqmX2hXoBeKu7XZgK98BDcCVtUjjOL/To
IYNjpwLAvwijzTFliW+eG3JJL1txux8qD2R5o/PYMSTvG7lEaK7GFDgxinQIRl35bLDOVJkBfhJ0
fEuBMeG3itpUvDg/uZqOvj/o7h3dD7vj+3F39P3w+wBlzuaEHbpL8Cl+jw8H9LccWtu3yd4uH9Sq
e6MSUgjfJp8iyze+8w74sqZ6RbJddabskN1O5tNU96J/i0KjxvZbdM9+9v67/TjdXrQufPQM62o+
HQEmgcxrgP37mvKtyKPqZRlGhq78gNp98LQ0WTW6iuvnNWLDXt9j0q+6ukuii7J4YU8lq8notzaZ
qSUwkhgKGuJezs6ZKj1nPvqkeu0GAvMn8O5J7NG165AkFx7dp4wGe4Mx/YXCa9htOT4YK7kXBHt7
48OD/eFksC8PB6ORnCwO5fhgMhkeLkaTgRLfgdJsTWrhz2aYcKrD+1rpbh9cfgpJgr5TS7eJA5Tp
Haq9pS/RBU5AdrA8OPAPDg/39/ZAenw0GqvxYHF0cBQETE+v47RWoebA0m1JQ6t8TDbpjUqQxfMK
8kHJm1wtraJ6e4BsJB/4lx8e/B5m9m3Um3Q+fvx/qbjxBA==
===END CRASH DUMP===PocketMine-MP Crash Dump Sun Aug 9 11:30:09 UTC 2015

Error: Call to a member function reduceMoney() on boolean
File: /AdvancedKits_v3.phar/src/AdvancedKits/EconomyManager
Line: 30
Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: AdvancedKits v3

Code:
[21] }
[22] }
[23]
[24] public function grantKit(Player $player, $money){
[25] if(is_null($this->economy)){
[26] return false;
[27] }
[28] switch($this->economy){
[29] case "EconomyAPI":
[30] if($this->api->reduceMoney($player, $money) === 1){
[31] return true;
[32] }
[33] break;
[34] case "PocketMoney":
[35] if($this->api->getMoney($player->getName()) < $money){
[36] return false;
[37] }
[38] if($this->api->setMoney($player->getName(), $this->api->getMoney($player->getName()) - $money)){
[39] return true;
[40] }

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

PocketMine-MP version: 1.6dev #0 [Protocol 33; API 1.13.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux localhost 3.4.5-4439001 #1 SMP PREEMPT Fri Mar 20 20:34:59 KST 2015 armv7l
PHP Version: 5.6.2
Zend version: 2.6.0
OS : Linux, android

Loaded plugins:
ZipPluginLoader 1.1.2 by aliuly for API(s) 1.10.0
SignPortal 1.1.2 by 99leonchang for API(s) 1.3.1
EasyMOTD 1.0a by LDX for API(s) 1.12.0
AdvancedKits 3 by luca28pet for API(s) 1.12.0
PurePerms 1.1.7 by 64FF00 for API(s) 1.12.0
WorldEditArt 1.0.0_beta_dev_#048 by PEMapModder for API(s) 1.0.0
ManyWorlds 2.0.1 by aliuly for API(s) 1.10.0
EmptyWorld 1.0.0 by aliuly for API(s) 1.12.0
SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0
GrabBag 2.2.7 by aliuly for API(s) 1.10.0, 1.11.0, 1.12.0
CommandTracker 1.0.1 by Scott Handley for API(s) 1.10.0
KillHeart 1.0.0 by BukkitPlaysMC for API(s) 1.0.0
EconomyAPI 2.0.7 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
CustomAreas 1 by luca28pet for API(s) 1.12.0
SignStatus 2 by xpyctum for API(s) 1.0.0
VoteBan 1.0.2 by GmWM for API(s) 1.12.0
NetherChests 1.1.1 by aliuly for API(s) 1.12.0
CombatLogger 1.2.0 by Lambo for API(s) 1.12.0
PocketDockConsole 0.0.14 by humerusj for API(s) 1.0.0
SimpleAuthHelper 1.3.0dev2 by aliuly for API(s) 1.10.0
FactionsPro 1.4.1 by Tethered_, HostingItAll.com for API(s) 1.12.0
KillRate 1.2.3 by aliuly for API(s) 1.10.0

----------------------REPORT THE DATA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bJMaz+gL3mnlmSvcbqGLoj5
S9JkE1OPzxGioV9dMUqbFjcs6mFmGM4mhVytUHvcTrw64qAGkT6JvnlcGssPodOP8UP6sr7MJt5e
DZ+wo1NrgDzxXGWu2z+GppneInl3d/cYwShELrcyn91LqmX2hXoBeKu7XZgK98BDcCVtUjjOL/To
IYNjpwLAvwijzTFliW+eG3JJL1txux8qD2R5o/PYMSTvG7lEaK7GFDgxinQIRl35bLDOVJkBfhJ0
fEuBMeG3itpUvDg/uZqOvj/o7h3dD7vj+3F39P3w+wBlzuaEHbpL8Cl+jw8H9LccWtu3yd4uH9Sq
e6MSUgjfJp8iyze+8w74sqZ6RbJddabskN1O5tNU96J/i0KjxvZbdM9+9v67/TjdXrQufPQM62o+
HQEmgcxrgP37mvKtyKPqZRlGhq78gNp98LQ0WTW6iuvnNWLDXt9j0q+6ukuii7J4YU8lq8notzaZ
qSUwkhgKGuJezs6ZKj1nPvqkeu0GAvMn8O5J7NG165AkFx7dp4wGe4Mx/YXCa9htOT4YK7kXBHt7
48OD/eFksC8PB6ORnCwO5fhgMhkeLkaTgRLfgdJsTWrhz2aYcKrD+1rpbh9cfgpJgr5TS7eJA5Tp
Haq9pS/RBU5AdrA8OPAPDg/39/ZAenw0GqvxYHF0cBQETE+v47RWoebA0m1JQ6t8TDbpjUqQxfMK
8kHJm1wtraJ6e4BsJB/4lx8e/B5m9m3Um3Q+fvx/qbjxBA==
===END CRASH DUMP===

Enchantments

So I'm adding enchants and it doesn't show the plugin up at all... When I do /pl it shows nothing... I have no idea what's going on... Please let me know how to fix if possible!

YAML Parsing error

Whenever I add my kits to the config it says theres an error within the plug.

Error?

InvalidArgumentException: "explode() expects parameter 2 to be string, array given" (E_WARNING) in "/AdvancedKits/src/AdvancedKits/Kit" at line 88.
I really need this plugin so @luca28pet, please fix it!

Weird Bug

Every time someone gets a kit they get 99+ iron bars and some other weird stuff that isn't supposed to be there in the inventory

how to set economy

Economy support: pay to get a kit (to set up read the documentation tab). Support for EconomyS, PocketMoney and MassiveEconomy

Where is it?

Bug and defect

Fatal error: Call to a member function reduceMoney() on boolean in C:\PocketMine-MP\plugins\AdvancedKits_v3\src\AdvancedKits\EconomyManager.php on line 30

please fix
defect

            if(isset($this->kits[strtolower($args[0])]["money"])){
                if($this->economy->grantKit($sender, (int) $this->kits[strtolower($args[0])]["money"])){
                    $this->addKit(strtolower($args[0]), $sender);
                    $sender->sendMessage("Selected kit: ".$args[0].". Taken ".$this->kits[strtolower($args[0])]["money"]." money");
                }else{
                    $sender->sendMessage("You can not afford this kit");
                }
            }else{
                $this->addKit(strtolower($args[0]), $sender);
                $sender->sendMessage("Selected kit: ".$args[0]);
            }

Add file_put_contents($this->getDataFolder()."cooldowns.sl", serialize($this->coolDown));

            if(isset($this->kits[strtolower($args[0])]["money"])){
                if($this->economy->grantKit($sender, (int) $this->kits[strtolower($args[0])]["money"])){
                    $this->addKit(strtolower($args[0]), $sender);
                     $sender->sendMessage("Selected kit: ".$args[0].". Taken ".$this->kits[strtolower($args[0])]["money"]." money");
                    file_put_contents($this->getDataFolder()."cooldowns.sl", serialize($this->coolDown));
                }else{
                    $sender->sendMessage("You can not afford this kit");
                }
            }else{
                $this->addKit(strtolower($args[0]), $sender);
                $sender->sendMessage("Selected kit: ".$args[0]);
                file_put_contents($this->getDataFolder()."cooldowns.sl", serialize($this->coolDown));
            }

Kits giving wrong items

image
lmvy2d9es2g

start:
items:
"272:0:1":
name: "Start"
enchantment:
weapon_sharpness: 5
weapon_knockback: 2
"260:0:5":
name: "Apples"
"261:0:1": []
"262:0:30": []
helmet:
id: 298
name: "Start"
enchantment:
armor_protection: 2
chestplate:
id: 299
leggings:
id: 300
boots:
id: 301
cooldown:
hours: 24
minutes: 30

Um

I install the plugin and it doesn't turn on. I did not edit anything.

Hmm...

I don't know, maybe I'm wrong....

I go to the server and enter the command /kit basicpvp. Everything is fine! Then I wrote /kit basicbuilder and he writes to me that I've already got it, although it is not so!

The problem with permissions

My players can use any kit's, even if I they were not given rights.

Still would like to ask that when a player wrote /kit showed him a list of kit's available and not a list of all kit's.

It would be nice if you would have added not only the hours and minutes, but days, it's more convenient

I hope you will listen to my requests, thank you

AdvancedKits.kit.(kitname)?

I was wondering if instead of AdvancedKits.command, you could add AdvancedKits.kit.(kitname) as well? I really love this plugin and hope that you add this, thanks!

Kits don't work after adding new kits

I have checked and double checked that I have everything formatted right. If I add a new kit with a command of tell, it kills the plugin and doesn't work anymore, even after removing the added kit. I am using build 48 1.6. Any help will be appreciated.

Pureperms node?

For my kit name, Serf i did...

advancedkits.kitname.Serf

and

advancedkits.Serf

With no luck.

I am using pureperms 1.1.12 1.6 and pocketmine 1.6

Error "Invalid argument supplied for foreach()"

RuntimeException: "Invalid argument supplied for foreach()" (E_WARNING) in "/AdvancedKits-master/src/AdvancedKits/Main" at line 39
InvalidArgumentException: "explode() expects parameter 2 to be string, array given" (E_WARNING) in "/AdvancedKits-master/src/AdvancedKits/Kit" at line 88

// NEW

2015-10-24 [22:54:11] �[Server thread/WARNING]: RuntimeException: "Invalid argument supplied for foreach()" (E_WARNING) in "/AdvancedKits_v3.1.phar/src/AdvancedKits/CoolDownTask" at line 17�

Change Name :oooooooooo

I changed the basicpvp to starter i replaced it correctly but when i try it says it dont exist but at /kit it is listed derrr reply ASAP

kit.yml

it's a great plugin but the kit.yml is very messy looking and can be confusing.

Still No permission!

so i recently have this pureperms permissions set to group vip
image
but when i get kit its still saying you haven't permission to use this kit

Suggestion #2

A nice feature that would be cool to have is if there is a color option for kits with leather armor.

Give Itens Bug in GenisysPHP7

when you receive the kit, the items have just been more kind I get basic kit, here comes it enchantment table in a pack of 99+ in the inventory, and also can not take the armor as she returns to the armor slot

Bug

[14:05:46] [Server thread/CRITICAL]: Unhandled exception executing command 'kit basicpvp' in kit: Argument 3 passed to pocketmine\item\Item::get() must be of the type integer, null given, called in phar:///home/superpixels/pmserver/plugins/AdvancedKits_v4.0.1.phar/src/AdvancedKits/Kit.php on line 80
[14:05:46] [Server thread/CRITICAL]: TypeError: "Argument 3 passed to pocketmine\item\Item::get() must be of the type integer, null given, called in phar:///home/superpixels/pmserver/plugins/AdvancedKits_v4.0.1.phar/src/AdvancedKits/Kit.php on line 80" (EXCEPTION) in "/src/pocketmine/item/Item" at line 1160

AdvancedKits Crash in GenisysAPI

File: /plugins/AdvancedKits-master/src/AdvancedKits/Kit
Line: 39
Error: syntax error, unexpected ':', expecting ';' or '{'

Code:
[30] $this->cost = (int) $this->data["money"];
[31] }
[32] $this->loadItems();
[33] $this->loadEffects();
[34] if(file_exists($this->ak->getDataFolder()."cooldowns/".strtolower($this->name).".sl")){
[35] $this->coolDowns = unserialize(file_get_contents($this->ak->getDataFolder()."cooldowns/".strtolower($this->name).".sl"));
[36] }
[37] }
[38]
[39] public function getName() : string{
[40] return $this->name;
[41] }
[42]
[43] public function handleRequest(Player $player) : bool{
[44] if($this->testPermission($player)){
[45] if(!isset($this->coolDowns[strtolower($player->getName())])){
[46] if(!($this->ak->getConfig()->get("one-kit-per-life") and isset($this->ak->hasKit[strtolower($player->getName())]))){
[47] if($this->cost){
[48] if($this->ak->economy->grantKit($player, $this->cost)){
[49] $this->addTo($player);

combined commands

Ok, so what im trying to do is that when i get a kit and i do /clearinv it wont let me get another kit it will tell me that you already have a kit. Then i changed the config file and it still doesn't work at all. Anyway of helping me?

No permission & cant add kit

Hello,
I'm having issues with the permissions and adding kits because i dont know whats the format of adding new kits and even i remove the "user and world line" & set the permission advancedkits.vip to the pureperms group and restarted my server its still saying you dont have a permission to use this kit.

please help me

Colored armor

Quando mcpe si aggiornera ci saranno I colori per le armor lo metterai nel plugin?

Question about adding certain items

I apologize if this has already been asked or shouldn't be asked, but how do I add items in kits.yml that have the IDs with colons? For example, I want to add an Enchanted Golden Apple that has the ID of 322:1. This doesn't seem to work, which makes sense. Is there a way to add these items? If so, what is the correct format? Thanks in advance.

Bug with cooldowns

I don't have a cool down on one of my kits but when they do the command it says it needs a cooldown of negative minutes.

Permissions

If I want rank Player to be able to get started kit and titan to get titan kit, if I give rank Player advanced kits.command it will give them the permission to use titan kit :( Can you add it so I can do /setgperm Player advanced kits.command.starter and give titan advanedkits.command.titan.
Please add this and also please add the enchanted (the one with enchants) version to releases ;)

Inventory Error

Getting the kits, and cant choose or hold some item on inventory..

That player cannot be found

When I get the kit in the console says "That player cannot be found" and a doesn't message comes from config

No idea what I did wrong...

kits.zip

This is my kits file, I also made sure that pureperms was correct, but when my players type /kit there are no kits listed. Ive tried practically everything I can think of, but I can't seem to do this right.

Enchants

When I put "tool_efficency: 20" it won't enchant that item with efficiency 20. Please tell me how to fix. By the way, I use old version.

Config:

starter:
items:
"267:0:1":
enchantment:
weapon_sharpness: 1
"260:0:5": []
helmet:
id: 306
enchantment:
armor_protection: 1
chestplate:
id: 307
enchantment:
armor_protection: 1
leggings:
id: 308
enchantment:
armor_protection: 1
boots:
id: 309
enchantment:
armor_protection: 1
cooldown:
hours: 0
minutes: 15
jack:
items:
"276:0:1":
enchantment:
weapon_sharpness: 2
"322:0:5": []
helmet:
id: 310
enchantment:
armor_protection: 2
chestplate:
id: 311
enchantment:
armor_protection: 2
leggings:
id: 312
enchantment:
armor_protection: 2
boots:
id: 313
enchantment:
armor_protection: 2
cooldown:
hours: 0
minutes: 15
queen:
items:
"276:0:1":
enchantment:
weapon_sharpness: 4
"322:0:10": []
"466:0:5": []
helmet:
id: 310
enchantment:
armor_protection: 4
chestplate:
id: 311
enchantment:
armor_protection: 4
leggings:
id: 312
enchantment:
armor_protection: 4
boots:
id: 313
enchantment:
armor_protection: 4
cooldown:
hours: 0
minutes: 10
king:
items:
"276:0:1":
enchantment:
weapon_sharpness: 6
"322:0:10": []
"466:0:5": []
"438:22:3": []
"438:33:2": []
helmet:
id: 310
enchantment:
armor_protection: 6
chestplate:
id: 311
enchantment:
armor_protection: 6
leggings:
id: 312
enchantment:
armor_protection: 6
boots:
id: 313
enchantment:
armor_protection: 6
cooldown:
hours: 0
minutes: 5
ace:
items:
"276:0:1":
enchantment:
weapon_sharpness: 10
"322:0:64": []
"466:0:32": []
"438:22:10": []
"438:33:10": []
helmet:
id: 310
enchantment:
armor_protection: 10
chestplate:
id: 311
enchantment:
armor_protection: 10
leggings:
id: 312
enchantment:
armor_protection: 10
boots:
id: 313
enchantment:
armor_protection: 10
cooldown:
hours: 0
minutes: 2
staff:
items:
"276:0:1":
enchantment:
weapon_sharpness: 10
"322:0:64": []
"466:0:64": []
"438:22:20": []
"438:33:120": []
helmet:
id: 310
enchantment:
armor_protection: 10
chestplate:
id: 311
enchantment:
armor_protection: 10
leggings:
id: 312
enchantment:
armor_protection: 10
boots:
id: 313
enchantment:
armor_protection: 10
cooldown:
hours: 0
minutes: 5
super:
items:
"276:0:1":
enchantment:
weapon_sharpness: 15
"322:0:64": []
"466:0:64": []
"438:22:20": []
"438:33:20": []
helmet:
id: 310
enchantment:
armor_protection: 15
chestplate:
id: 311
enchantment:
armor_protection: 15
leggings:
id: 312
enchantment:
armor_protection: 15
boots:
id: 313
enchantment:
armor_protection: 15
cooldown:
hours: 168
minutes: 0
tools:
items:
"278:0:1":
enchantment:
15: 1
"278:0:1":
enchantment:
15: 1
"277:0:1":
enchantment:
15: 1
cooldown:
hours: 0
minutes: 30
yt:
items:
"276:0:1":
enchantment:
weapon_sharpness: 2
"322:0:5": []
helmet:
id: 310
enchantment:
armor_protection: 2
chestplate:
id: 311
enchantment:
armor_protection: 2
leggings:
id: 312
enchantment:
armor_protection: 2
boots:
id: 313
enchantment:
armor_protection: 2
cooldown:
hours: 0
minutes: 2
ytplus:
items:
"276:0:1":
enchantment:
weapon_sharpness: 4
"322:0:10": []
"466:0:5": []
helmet:
id: 310
enchantment:
armor_protection: 4
chestplate:
id: 311
enchantment:
armor_protection: 4
leggings:
id: 312
enchantment:
armor_protection: 4
boots:
id: 313
enchantment:
armor_protection: 4
cooldown:
hours: 0
minutes: 10
...

The idea

Can make "cooldown" not reset when the server restarts. And to conclude how much is left to wait seconds, minutes, hours, days

Suggestion

Can you add an option to buy a kit once and use that kit forever?

Enchantment Issues

When i add efficiency to my tools it doesn't enchant in my kits. What have i done wrong?

Undefined index: lang_version

ArrayOutOfBoundsException: "Undefined index: lang_version" (E_NOTICE) in "/AdvancedKits-master/src/AdvancedKits/lang/LangManager" at line 37

Error starting plugin

Time limit

Can add a time limit? seconds, minutes, hours, days

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.