1.5
New features: - The option "CooldownInSec.Global" has been added to give an alias a global cooldown that counts for all players. - The option "CooldownInSec.Player" has been added to give an alias a cooldown that counts for a single player. The permissions have been revised: - t2code.alias.admin -> t2c.alias.admin - t2code.alias.updatemsg -> t2c.alias.updatemsg - t2code.alias.command.reload -> t2c.alias.command.reload - t2code.alias.command.info -> t2c.alias.command.info - t2code.alias.buy.bypass -> t2c.alias.buy.all.bypass - The bypass for payment can now also be set individually for each alias / subalias: t2c.alias.buy.[alias].bypass / t2c.alias.sub.buy.all.bypass
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
package net.t2code.alias.Spigot.objects;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public class SubAliasObject {
|
||||
public HashMap<UUID, Long> cooldownPlayerMap = new HashMap<>();
|
||||
public Long globalCooldownInt = 0L;
|
||||
|
||||
public Boolean subAliasEnable;
|
||||
public List<String> subAliasList;
|
||||
public Integer subAliasArg;
|
||||
|
Reference in New Issue
Block a user