KitPvP Plugin - V1.1

Status
This thread has been locked.

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Hi MC-Market,

Today I'm giving away my custom KitPvP plugin (JAVA PLUGIN).
I sold this for $3,75, but no one was buying it, so thats why it's free now.
NO CONFIG MAYBE ADDING SOON!
- Version: 1.1

Update:
- ADDED SOUPS TO KIT
- FIXED SOME BUGS

Tested on: 1.7.x and 1.8.x

Plugin i use for the kit GUI is: ChestCommands.




Download: http://www.mediafire.com/download/z5i52mhr6kw2kws/KitPvP.jar
ChestCommands config download: http://www.mediafire.com/download/gdgj7oz6xi9ir4z/kits.yml (PUT THIS IN THE 'MENU' FOLDER)


SORRY FOR BAD ENGLISH!
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

Camaloony

Front-End Web Developer
Premium
Feedback score
0
Posts
169
Reactions
75
Resources
0
How do you have all the code in just 2 classes? Must be pretty messy?
 

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
How do you have all the code in just 2 classes? Must be pretty messy?
Nah it's not that big of a code, btw there's no config.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

Camaloony

Front-End Web Developer
Premium
Feedback score
0
Posts
169
Reactions
75
Resources
0
Yeah.. The code's really messy, doesn't even use standard Java naming conventions:
http://prntscr.com/bb5exb Or http://prntscr.com/bb5f3p

And instead of repeating the same line of code 34 times, you can use a simple loop:
http://prntscr.com/bb5fu5
And have a method that does that^ Instead of doing that for every kit at a time.

Very innefficient code...
Here is a fix :

Code:
    for(int i = 0 : i <26){
      Player.getInventory.add(new ItemStack(Material.MUSHROON_SOUP, 1))
        i++
    }
 

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Here is a fix :

Code:
    for(int i = 0 : i <26){
      Player.getInventory.add(new ItemStack(Material.MUSHROON_SOUP, 1))
        i++
    }
I'll change that ;p
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)

WeGotADumbo

Setting up servers
Banned
Feedback score
0
Posts
146
Reactions
48
Resources
0
Yea looking over the code, make a "for" loop. Can easily delete about half of these lines.

Also a way to shorten color codes is

p.sendMessage(ChatColor.translateAlternateColorCodes('&', "&4msg here"));
I already fixed that loop for the soups, thanks though and thanks for the color code tip! :D
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/wegotadumbo-scam-report.112953/)
Status
This thread has been locked.
Top