np98765 / battlekits Goto Github PK
View Code? Open in Web Editor NEWdev.bukkit.org/server-mods/battlekits
dev.bukkit.org/server-mods/battlekits
Hi, so my last thread type thing was messy here are some real issues,
Issues ~
FIXED :: As far as I can see
Items are dropped on death and can be seen by all players but other players cant pick up others items, players can pick up there own items see the detail version down below. (needs testing again)
RESOLVED
Ops respawn as a kit and are unable to change the kit they are forced as this kit forever
Suggestions ~
Needs to include better reward support, giving X credits per kills means again your eco for the whole server is taken up by this plugins, needs its own reward credit system if thats a path to be chosen.
if you die from fire e.g. pyro kit then none gets a reward, a lot of rewards missed out because fire got the last hit.
Web support would be nice a simple mysql data base displaying kill death ration and top players for websites in an easy to read php format would really help.
I think that killstreaks would be a great addition to BattleKits (or even as a standalone plugin).
Basically, every time a user kills another player, their kill-count is incremented by 1. When they die, their kill-count is reset back to 0. If the user reaches 'x' number of kills, a configurable message could be sent.
One solution:
There could be a list of integers, and whenever the user's killstreak is changed, it would check with the list. If the killstreaks matches a number on the list, it would broadcast a message.
killcount: [5,10,20,50]
'%player has killed %killcount enemies in a row! Watch out!'
Alternatively, there could be a system where the user can define a message for each integer on the list. For example, when a user reaches 5, 'Watch out!' could be the message, but when the user reaches 50, '%p is on fire!' would be displayed. We could enhance this feature by allowing console commands to be run when the user reaches certain integers on the list, to give users a reward (i.e. Extra items, a special message, a new rank).
Questions, concerns, thoughts?
BattleKits Bug List By ME! Version 3.1!
Ops are still getting kits back for example I pick heavy kit, I'm now stuck with heavy forever!
This is the config - http://pastebin.com/jdXpH9Ud
Console Bugs - N/a
Group Permissions given - none yet
Bug Live: Yes. Confirmed
Players are given an empty bowl and sometimes have to relog to see the kit they have picked
This is the config - http://pastebin.com/jdXpH9Ud
Console Bugs - N/a
Group Permissions given - none yet
Bug Live: On an older build
Players drop items on death
This is the config - http://pastebin.com/akgFszVL
Console Bugs - N/a
Group Permissions given - none yet
Bug Live: Confirmed items drop with ops, unconfirmed default players
There are other bugs just need to confirm and test these on the latest build
Among those that can and can not, not any difference. But there are in the same group in Group Manger.
Permissions of default group:
g:bukkit_default:
permissions:
- bukkit.broadcast.user
- -bukkit.command.plugins
- sg.arena.join
- sg.arena.vote
- sg.lobby.join
- kitpvp.kit.pvp
- kitpvp.kit.archer
- essentials.warp
- votekick.start
- votekick.kick
- paintball.general
- essentials.kit
- BattleKits.use.archer
- BattleKits.use.heavy
- BattleKits.bypassRestriction.disable-player-drops-on-death
- BattleKits.bypassRestriction.disable-hunger
- BattleKits.bypassRestriction.disable-player-drops-on-death
- BattleKits.bypassRestriction.disable-crafting
- BattleKits.bypassRestriction.disable-player-xp-drop
- BattleKits.bypassRestriction.disable-mob-xp-drop
- BattleKits.bypassRestriction.disable-block-xp
- BattleKits.bypassRestriction.disable-inventory-interaction
- BattleKits.bypassRestriction.disable-pickup-items
- BattleKits.bypassRestriction.disable-block-break
- BattleKits.bypassRestriction.disable-block-place
- BattleKits.bypassRestriction.hide-death-messages
- BattleKits.bypassRestriction.disable-inventory-click
- buttoncommands.use.normal
My config:
settings:
once-per-life: false
auto-update: false
enable-restrictions: true
show-kit-info-on-respawn: false
override-disable-respawn-kits: false
instant-soup-drink: false
instant-soup-drink:
replenish-type: hunger
signs:
ignore-permissions: false
ignore-costs: false
ignore-world-restriction: false
ignore-lives-restriction: false
indirect:
ignore-costs: false
ignore-permissions: false
ignore-world-restriction: false
ignore-lives-restriction: false
rewards:
killCommands:
My kits:
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=340 (author: OriKenig) at Dec 13, 2012 at 10:16 UTC
The permission BattleKits.listKits still dont work for me ..
I put it false and i use permission bukkit.
Are you sure ?
And can i change the [BattleKits] to what i want ?
Comment body:
Does not work with 1.4.5-R0.1 (Build #02474) !
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=390 (author: mcredstonepro) at Dec 24, 2012 at 05:51 UTC
Hey, I am trying to create [BattleKits] Signs to give out kits, but there is a bug with it.
When I create a BattleKits sign, then right click it, it does NOT give the specified kit, not any kit to be exact. Instead, it gives in my inventory, only 1 empty soup bowl in the hotbar in the slot I right-click the sign with. Please fix this. Thanks.
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=365 (author: hehehehe123123) at Dec 20, 2012 at 10:16 UTC
i cant use the sign but
i can use /bk (class)
Hi, my internet has been down for a few days and I have missed a lot I just tried your auto give back fix.
Please use negative nodes for operators to remove the auto permissions from them:
E.g. -BattleKits.auto.*
Stops all kits from being automatically given back.
I still get given a kit, so do my ops
Hi,
a lot of bugs with craftbukkit Version 1.4.6 I will post them as we go, but theres lots! Eek I know its christmas so I wont expect anything its holiday time! A lot of other plugins are in the same boat!
Don't listen to anything i said the new update you put out seems to work fine
Um im a bit new to plugins and stuff, but every time i edit the config (try to add a kit) it doesnt add it at all it just restarts my config please, or make a tutorial on how to make a kit please :)
CraftBukkit version: #2455 1.4.2 Beta Build
Plugin list: http://i48.tinypic.com/168izc1.png
BattleKits version: Latest R: BattleKits 1.3.3 (Security update) for CB 1.4.2-R0.2 1 day ago
Config file link (pastebin.com): http://pastebin.com/08URGpZn
Server log link (pastebin.com): http://pastebin.com/yM51MnWd
When does the error occur? When I installed battlekits
Steps to reproduce error: Just have exp drops set to true and disabled..
Any other relevant info: Exp just isn't dropping when it should be in the config, I've tried toggling some of the other plugins and removing but I think it's actually just the battlekits plugin. Hopefully it can get sorted thanks!
CraftBukkit version: 1.4.5 Beta 0.2
Plugin list: BattleKits
BattleKits version: 1.8 (BukkitDev pre-approved file)
Config file link (pastebin.com): Does not make/load a config
Server log link (pastebin.com): Ill just paste it here (the error of course)
2012-12-07 23:01:54 [SEVERE] Could not load 'plugins\BattleKits (2).jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NullPointerException
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:152)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:205)
at net.minecraft.server.ServerConfigurationManagerAbstract.(ServerConfigurationManagerAbstract.java:51)
at net.minecraft.server.ServerConfigurationManager.(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
at com.lavacraftserver.BattleKits.BattleKits.(BattleKits.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
... 9 more
When does the error occur? Startup
Steps to reproduce error: Run Server?
Any other relevant info:
The " (2).jar" suffix does not change its startup state.
With or without, it does not load.
Since BattleKits should have everything configurable, config options should be configurable too! Allow all options in the config to be modified per world. This way Multi-world servers can utilize the great features BattleKits.
http://dev.bukkit.org/home/private-messages/78173-battle-kits-mod/?unread
Waiting on details
By default, no matter what I change in the config, and what permissions node I give to the groups in my server, they cannot move their inventory, or do any of the restricted actions.
if you die from fire e.g. pyro kit then none gets a reward, a lot of rewards missed out because fire got the last hit.
Need to check if this is possible first. It's somewhat unlikely but I should be able to get projectiles etc to work.
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=330 (author: xron89) at Dec 12, 2012 at 13:51 UTC
Massive bug, you can change kits more than 1 time per life and you can end up with iron armour, and a bow from archer. Eek!
You could possibly hook into iZone, WorldGuard, or something similar to provide zone-only fights?
CraftBukkit version: Bukkit 1.4.2 R0.2
Plugin list: World portal, XpStrength, nodrop, battlekits, worldedit, nocheatplus, pail, fastsoup, buycraft, vault, autotimeday, permissionex, modifyworld, worldguard, treeassist, piratestick, Pailplus, essentials, chatmanager, esseentialsspawn, essentials chat, autorank
BattleKits version: BattleKits 1.3 for CB 1.4.2-R0.2 19 hours ago
Config file link (pastebin.com): It keeps resetting to the default..
When does the error occur?
Everytime I restart server for a reload.
Steps to reproduce error:
Restart server.
Before we can give you support, we need the following information form you:
Quick template:
CraftBukkit version:
Plugin list:
BattleKits version:
Config file link (pastebin.com):
Server log link (pastebin.com):When does the error occur?
Steps to reproduce error:
Any other relevant info:
CraftBukkit version: Spigot #298 (Or builds before Bukkit changed API calls)
Plugin list:
Plugins (39): WorldBorder, Ptweaks, WorldEdit, AutoSoup, SimpleSignEdit, Vault, PlayerHeads, AntiRelog, PermissionsEx, LogBlock, WorldGuard, PvPTimer, HomeSpawnPlus, mChatSuite, EndReset, MineCoupon, iConomy, ReportRTS, pvparena, MasterPromote, MobSpawnControl, MSocial, Votifier, MobArena, mcMMO, AutoAnnouncer, Essentials, Factions, BattleKits, XrayInformer, ServerSigns, VanishNoPacket, MAdvanced, ecoCreature, AutoRank, CompatNoCheatPlus, ChestShop, NoCheatPlus, MCBans
BattleKits version: 1.8.1 (#1585)
Config file link (pastebin.com):
http://pastebin.com/ArFa0Jtn
http://pastebin.com/T4TnnLbu
Server log link (pastebin.com):
When does the error occur?
Possibly in or after combat.
Steps to reproduce error:
Continued playing/combat.
(It does seem related to PvPing)
Any other relevant info:
[WARNING] Failed to handle packet for dagraygray/127.0.0.1: java.lang.NullPointerException
java.lang.NullPointerException
(Irrelevant but annoying)
[INFO] �[33;22m[AntiRelog] �[32;1mdagraygray has logged off during combat.�[m
[INFO] �[32;1mCowards will not be tolerated on this server.�[m
I put the jar in my /plugins folder but no config folder is being generated. Why?
I still can't set a kits armor to nothing...
Could you actually tell me how to do it?
What i'm trying to make the kit do is have only a helmet and boots.
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=326 (author: dotcurrency) at Dec 12, 2012 at 01:15 UTC
When my players respawn they automatically get the kit in the top of my kits.yml
How do I disable this? I can't seem to find the option in the config.
Hey,
Could we have some more information on how kits should be formatted I'm trying to add my own kits but there not working some kits have more spaces than others etc.. and I'm not sure how to do it :/
This is my current kits file -
http://pastebin.com/zUyefrKj
and the scout kit will go on a sign but when I get the kit it doesnt give me any items from the kit, it also gives me the message setup in the kit.
I tried loads of different spacing nothing seems to work :(
I just updated to the newest version of battle kits(the one released yesterday) and signs arent working. The ones I already had on my map dont work and I cant make new ones.
my config is here
http://pastebin.com/tTfu3xQN
I have the configs in different files but put them all in one pastebin for conveince.
permissions:
http://pastebin.com/PCBiQEC6
Also when someone of the default rank dies they dont respawn with the pvp kit.
So I am trying to make a class that has no armor but I run into problems. After making the sign and clicking it the items do not appear until I re-log. Users are then able to select more signs despite already picking one (this only occurs with no armor kits). Also when dropping items from one of these no armor kits the items seem to drop into the armor slots! (see:http://imgit.me/i/0F5b2q4.png)
I have tried these kits settings and all give me the issue.
medic:
active-in: all
items:
helmet: none
chestplate: none
leggings: none
boots: none
'0': '0'
'1': '373:1:16389'
'2': '297:3'
'3': '0'
'4': '0'
'5': '0'
'6': '0'
'7': '0'
'8': '0'
'9': '0'
'10': '0'
'11': '0'
'12': '0'
'13': '0'
'14': '0'
'15': '0'
'16': '0'
'17': '0'
'18': '0'
'19': '0'
'20': '0'
'21': '0'
'22': '0'
'23': '0'
'24': '0'
'25': '0'
'26': '0'
'27': '0'
'28': '0'
'29': '0'
'30': '0'
'31': '0'
'32': '0'
'33': '0'
'34': '0'
'35': '0'
medic:
active-in: all
items:
'0': '0'
'1': '373:1:16389'
'2': '297:3'
'3': '0'
'4': '0'
'5': '0'
'6': '0'
'7': '0'
'8': '0'
'9': '0'
'10': '0'
'11': '0'
'12': '0'
'13': '0'
'14': '0'
'15': '0'
'16': '0'
'17': '0'
'18': '0'
'19': '0'
'20': '0'
'21': '0'
'22': '0'
'23': '0'
'24': '0'
'25': '0'
'26': '0'
'27': '0'
'28': '0'
'29': '0'
'30': '0'
'31': '0'
'32': '0'
'33': '0'
'34': '0'
'35': '0'
Hey.I have an idea.When you killed somebody you will get a level/exp....when you earned a level you can buy new weapons....for money.
I would like to know if there is a way to set an armor slot to nothing.
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=329 (author: OriKenig) at Dec 12, 2012 at 12:59 UTC
There is any permission to the command /kits that show you all the kits in the server ?
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=315 (author: KylexDavis) at Dec 10, 2012 at 19:07 UTC
It seems that even though I have the BattleKits.jar in my plugins, it's not making a folder, nor letting me use /bk reload , etc.
Web support would be nice a simple mysql data base displaying kill death ration and top players for websites in an easy to read php format would really help.
Jetty.
Hello. I wanna know what to fil into the global.yml - it's crappy documented/missing -, so anyways, the config.yml was generated in former versions and did work once [!] but now it's just empty, even with the latest BattleKits versions. I really would be happy if you guys from the BattleKits development could help me with the empty global.yml file. Thanks.
BattleKits: #1.9.1
Spigot: #3.6.2
[CraftBukkit: #2570]
MineCraft: 1.4.6
Thanks you.
Version: CB 1.4.6-R01
Major Plugins: Essentials, World guard, World edit, Permissionsex, Lwc , Factions
Version of plugin: the newest release for CB 1.4.6-R0.1
Config: Dose not make one :
Error: I do not get the error any more in the console but it is Unsupported major minor version (I think this is because we have only java 1.5?)
Im trying to use battle kits for my server :)
If you could recompile/rebuild the plugin for a older version of java that would be Awesome it looks like your plugin is by FAR the best kit one
Thank you :D
CraftBukkit version git-Bukkit-1.4.6-R0.1-11-g178daca-b2570jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.2-SNAPSHOT)
Plugins: WorldEdit, WorldGuard, Multiverse, CleanroomGenerator, and, of course, BattleKits
I'm running the "debug" version of BattleKits.
The error I'm getting is at http://pastebin.com/4vqEn944
Well, the kits stuff does work but only the crafting, inventory editing stuff, the no hunger and all the other functions don't work. Im running the latest BattleKits build same as latest Spigot. Well, one of the first versions of BattleKits had working no-inventory-edit and so on festures i dunno why you guys removed these features. Also: no errors in Console at all.
If you could help me fix the BattleKits error it would be very kind of you.
I believe, after testing to add potions in kits, that potions are not actually working. Probably because potions go in the 373:(potionvalue) format and for BattleKits, ItemID:(Amount) is implemented. I know potioncommands is a solution but I want to use health potions which cannot be given as an effect. Thanks guys.
Optional body
Autogenerated issue from http://dev.bukkit.org/server-mods/battlekits/?comment=339 (author: tadeasek7) at Dec 13, 2012 at 08:15 UTC
Plugin doesnt create a nwe folder with config... :(
This was automagically generated with a python script!
"Hi here is in fact I have a problem with the plugin but when I file my 'plugins' I'm nothing ... I would not just in the back of the configue ect because there is not I look if I had not plugins that could make the plugin bug but not yet .. I was just missing plugin in order to finish my server and I do not understand why it does not work, sorry for my English but I am French"
Could be invalid. Working on getting some more details
Hi,
I know you said this could be a bit to far to add to this plugin I just wanted to explain how it would work anyways.
In the kit option a new line would be added named something along the lines of "diffcultly" you would enter a number between 1 - 10 for example
so then you kit is equal to over powered you are, so if your really strong you would be diffcultly 1 so you would only get 1 credit per kill. if you where in a hard kit to use you would be diffcultly 10 you would get 10 credits per kill.
It would be easyer to add it to an existing econemy system such as essentials eco.
more advanced updates could be added to make the system a lot better for example, if you hurt a player and he dies from another player within 5 - 10 seconds (could config the time), then you get 50% of the credits that player got aswell. again the percent could be setup in the config.
So that way kill stealing rewards are fixed for players
Thanks!
Hello, my players have no permissions to the kits? I'm an experienced user of PeX, been using it for 2 years. Never had any problems with it, but the permissions at BattleKits does not work at all ??
PeX works just great with the other plugins, does BattleKits not accept Pex? or..? please help..
PeX Group:
donator:
default: false
permissions:
- PlayerStatus.afk
- PlayerStatus.nochat
- PlayerStatus.nomsg
- PlayerStatus.ignore
- BattleKits.sign.use
- commandbook.kit.list
- commandbook.kit.pvp
- commandbook.kit.archer
- commandbook.kit.kits.archer
- commandbook.kit.kits.pvp
- commandbook.kit
- commandbook.msg
- commandbook.rules
- iConomy.rank
- instaeat.instaheal
- iConomy.list
- iConomy.holdings
- ChestShop.shop.buy
- ChestShop.shop.sell
- commandbook.motd
- commandbook.time.check
- Sidekick.world
- BattleKits.sign.use
- BattleKits.use.pyro
- BattleKits.use.
- BattleKits.use.archer
- BattleKits.use.
- BattleKits.use.heavy
- BattleKits.use.
- BattleKits.use.ninja
- BattleKits.use.
- commandbook.time
prefix: '&b[&6Donator&b]&d'
Here is my config for a kit that I want to be called "wizard" everything is working apart from the potions, they are just giving me stacks of water bottles. Any reason for this? Thanks in advance.
wizard:
active-in: all
commands:
- potion speed 36000
- potion fireresistance 24000
items:
helmet: gold
chestplate: gold
leggings: gold
boots: gold
'0': 280 16:5 19:2
'1': '373:16428'
'2': '373:16388'
'3': '373:16392'
'4': '373:16394'
'5': '282'
'6': '282'
'7': '282'
'8': '282'
'9': '0'
'10': '373:16428'
'11': '373:16388'
'12': '373:16392'
'13': '373:16394'
'14': '0'
'15': '0'
'16': '0'
'17': '262'
'18': '0'
'19': '373:16428'
'20': '373:16388'
'21': '373:16392'
'22': '373:16394'
'23': '0'
'24': '0'
'25': '0'
'26': '0'
'27': '0'
'28': '373:16428'
'29': '373:16388'
'30': '373:16392'
'31': '373:16394'
'32': '0'
'33': '0'
'34': '0'
'35': '0'
names:
'0': '&cStick of Wonder'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.