mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-09-29 23:17:26 +02:00
test
This commit is contained in:
parent
fdc81caa0a
commit
16c2e11576
8
.classpath
Normal file
8
.classpath
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="C:/Users/Boos/Desktop/Mineplanet/plugins/Vault.jar"/>
|
||||
<classpathentry kind="lib" path="C:/Users/Boos/Desktop/Mineplanet/bukkit-1.3.1-R2.0.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
23
.project
Normal file
23
.project
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>boosCooldowns</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
23
bin/.project
Normal file
23
bin/.project
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>boosCooldowns</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
3
bin/README.txt
Normal file
3
bin/README.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Bukkit plugin.
|
||||
Ever wanted to set cooldowns to your warps? Ever wanted to put that /warp arena to 5 minutes cooldown while putting /warp market to 1 minute cooldown? Then this plugin is for you! This plugin allows you to set warmups and cooldowns for every single command (even with parameters!) on your server! Configuration is extremely easy! Localization is even much easier!
|
||||
More at http://dev.bukkit.org/server-mods/booscooldowns/
|
BIN
bin/cz/boosik/boosCooldown/boosConfigManager.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosConfigManager.class
Normal file
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosCoolDown.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosCoolDown.class
Normal file
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosCoolDownListener.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosCoolDownListener.class
Normal file
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosCoolDownManager.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosCoolDownManager.class
Normal file
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosPriceManager.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosPriceManager.class
Normal file
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosWarmUpManager.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosWarmUpManager.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/cz/boosik/boosCooldown/boosWarmUpTimer.class
Normal file
BIN
bin/cz/boosik/boosCooldown/boosWarmUpTimer.class
Normal file
Binary file not shown.
BIN
bin/org/mcstats/MetricsLite$1.class
Normal file
BIN
bin/org/mcstats/MetricsLite$1.class
Normal file
Binary file not shown.
BIN
bin/org/mcstats/MetricsLite.class
Normal file
BIN
bin/org/mcstats/MetricsLite.class
Normal file
Binary file not shown.
140
bin/plugin.yml
Normal file
140
bin/plugin.yml
Normal file
@ -0,0 +1,140 @@
|
||||
name: boosCooldowns
|
||||
main: cz.boosik.boosCooldown.boosCoolDown
|
||||
version: 3.1.1
|
||||
authors: [LordBoos (ingame name boosik)]
|
||||
softdepend: [Vault]
|
||||
description: >
|
||||
Shortcuts
|
||||
commands:
|
||||
booscooldowns:
|
||||
description: Reload command.
|
||||
usage: Use /booscooldowns reload, clearcooldowns <player>, clearwarmups <player> or clearuses <player>
|
||||
permissions:
|
||||
booscooldowns.exception:
|
||||
description: Player wont be affected by plugin at all (no warmups, no cooldowns, no prices, no limits, no aliases).
|
||||
default: false
|
||||
booscooldowns.norestriction:
|
||||
description: Player wont be affected by restrictions but will be affected by aliases(no warmups, no cooldowns, no prices, no limits).
|
||||
default: false
|
||||
children:
|
||||
booscooldowns.noprice: true
|
||||
booscooldowns.nocooldown: true
|
||||
booscooldowns.nowarmup: true
|
||||
booscooldowns.nolimit: true
|
||||
booscooldowns.nocancel.move:
|
||||
description: Players warmups will not be canceled by moving, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.nocancel.damage:
|
||||
description: Players warmups will not be canceled by damage, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.nocancel.sneak:
|
||||
description: Players warmups will not be canceled by sneaking, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.nocancel.sprint:
|
||||
description: Players warmups will not be canceled by sprinting, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.nocancel.gamemodechange:
|
||||
description: Players warmups will not be canceled by changing gamemode, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.dontblock.interact:
|
||||
description: Players interaction will not be blocked during warmup, even if it's turned on.
|
||||
default: false
|
||||
booscooldowns.noprice:
|
||||
description: Players commands will always be free of charge.
|
||||
default: false
|
||||
booscooldowns.noprice./command:
|
||||
description: Command "/command" will not be affected by price for users with this permission.
|
||||
default: false
|
||||
booscooldowns.nocooldown:
|
||||
description: Player wont be affected by cooldowns.
|
||||
default: false
|
||||
booscooldowns.nocooldown./command:
|
||||
description: Command "/command" will not be affected by cooldown for users with this permission.
|
||||
default: false
|
||||
booscooldowns.nowarmup:
|
||||
description: Player wont be affected by warmups.
|
||||
default: false
|
||||
booscooldowns.nowarmup./command:
|
||||
description: Command "/command" will not be affected by warmup for users with this permission.
|
||||
default: false
|
||||
booscooldowns.nolimit:
|
||||
description: Player wont be affected by limiting.
|
||||
default: false
|
||||
booscooldowns.nolimit./command:
|
||||
description: Command "/command" will not be affected by limits for users with this permission.
|
||||
default: false
|
||||
booscooldowns.warmup2:
|
||||
description: Player will be affected by warmup2 group. Players without this permission, will be affected by default warmups.
|
||||
default: false
|
||||
booscooldowns.warmup3:
|
||||
description: Player will be affected by warmup3 group. Players without this permission, will be affected by default warmups.
|
||||
default: false
|
||||
booscooldowns.warmup4:
|
||||
description: Player will be affected by warmup4 group. Players without this permission, will be affected by default warmups.
|
||||
default: false
|
||||
booscooldowns.warmup5:
|
||||
description: Player will be affected by warmup5 group. Players without this permission, will be affected by default warmups.
|
||||
default: false
|
||||
booscooldowns.price2:
|
||||
description: Player will be affected by price2 group. Players without this permission, will be affected by default prices.
|
||||
default: false
|
||||
booscooldowns.price3:
|
||||
description: Player will be affected by price3 group. Players without this permission, will be affected by default prices.
|
||||
default: false
|
||||
booscooldowns.price4:
|
||||
description: Player will be affected by price4 group. Players without this permission, will be affected by default prices.
|
||||
default: false
|
||||
booscooldowns.price5:
|
||||
description: Player will be affected by price5 group. Players without this permission, will be affected by default prices.
|
||||
default: false
|
||||
booscooldowns.cooldown2:
|
||||
description: Player will be affected by cooldown2 group. Players without this permission, will be affected by default cooldowns.
|
||||
default: false
|
||||
booscooldowns.cooldown3:
|
||||
description: Player will be affected by cooldown3 group. Players without this permission, will be affected by default cooldowns.
|
||||
default: false
|
||||
booscooldowns.cooldown4:
|
||||
description: Player will be affected by cooldown4 group. Players without this permission, will be affected by default cooldowns.
|
||||
default: false
|
||||
booscooldowns.cooldown5:
|
||||
description: Player will be affected by cooldown5 group. Players without this permission, will be affected by default cooldowns.
|
||||
default: false
|
||||
booscooldowns.limit2:
|
||||
description: Player will be affected by limit2 group. Players without this permission, will be affected by default limits.
|
||||
default: false
|
||||
booscooldowns.limit3:
|
||||
description: Player will be affected by limit3 group. Players without this permission, will be affected by default limits.
|
||||
default: false
|
||||
booscooldowns.limit4:
|
||||
description: Player will be affected by limit4 group. Players without this permission, will be affected by default limits.
|
||||
default: false
|
||||
booscooldowns.limit5:
|
||||
description: Player will be affected by limit5 group. Players without this permission, will be affected by default limits.
|
||||
default: false
|
||||
booscooldowns.reload:
|
||||
description: Player can use "/booscooldowns reload" to reload config file.
|
||||
default: op
|
||||
booscooldowns.clear.uses.death:
|
||||
description: Players uses (limit-uses=how many times playr can still use command) are cleared on death (must be enabled in config file too!).
|
||||
default: false
|
||||
booscooldowns.clear.cooldowns.death:
|
||||
description: Players cooldowns are cleared on death (must be enabled in config file too!).
|
||||
default: false
|
||||
booscooldowns.list.limits:
|
||||
description: Player can use "/booscooldowns limits" to see limits and how many times he can still use commands.
|
||||
default: true
|
||||
booscooldowns.set:
|
||||
description: Users with this can use "/booscooldowns set" command.
|
||||
default: op
|
||||
booscooldowns.signs.player.use:
|
||||
description: Player can use boosCooldowns signs (marked as player on second line).
|
||||
default: false
|
||||
booscooldowns.signs.server.use:
|
||||
description: Player can use boosCooldowns signs (marked as server on second line).
|
||||
default: false
|
||||
booscooldowns.signs.player.place:
|
||||
description: Player can place/create boosCooldowns signs (marked as player on second line).
|
||||
default: false
|
||||
booscooldowns.signs.server.place:
|
||||
description: Player can place/create boosCooldowns signs (marked as server on second line). !!WARNING!! With this permission, player can create sign with commands that are run as if used from console!
|
||||
default: false
|
BIN
bin/util/boosChat.class
Normal file
BIN
bin/util/boosChat.class
Normal file
Binary file not shown.
23
src/.project
Normal file
23
src/.project
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>boosCooldowns</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -17,7 +17,7 @@ public class boosConfigManager {
|
||||
private static YamlConfiguration conf;
|
||||
private static File confFile;
|
||||
static List<String> players = new LinkedList<String>();
|
||||
|
||||
//test
|
||||
@SuppressWarnings("static-access")
|
||||
public boosConfigManager(boosCoolDown boosCoolDown) {
|
||||
confFile = new File(boosCoolDown.getDataFolder(), "config.yml");
|
||||
|
Loading…
Reference in New Issue
Block a user