mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-18 16:35:25 +01:00
Moving Stuff Around Pt 3
This commit is contained in:
parent
83c1dab963
commit
d45aac713f
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands;
|
package com.gmail.nossr50.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.data.database.FlatfileDatabaseManager;
|
import com.gmail.nossr50.core.data.database.FlatfileDatabaseManager;
|
||||||
import com.gmail.nossr50.core.data.database.SQLDatabaseManager;
|
import com.gmail.nossr50.core.data.database.SQLDatabaseManager;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.commands;
|
package com.gmail.nossr50.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.commands.party.PartySubcommandType;
|
import com.gmail.nossr50.commands.party.PartySubcommandType;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.util.Permissions;
|
import com.gmail.nossr50.core.util.Permissions;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands;
|
package com.gmail.nossr50.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.util.commands.CommandUtils;
|
import com.gmail.nossr50.core.util.commands.CommandUtils;
|
||||||
import com.gmail.nossr50.core.util.scoreboards.ScoreboardManager;
|
import com.gmail.nossr50.core.util.scoreboards.ScoreboardManager;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.commands;
|
package com.gmail.nossr50.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.util.Permissions;
|
import com.gmail.nossr50.core.util.Permissions;
|
||||||
import com.gmail.nossr50.core.util.StringUtils;
|
import com.gmail.nossr50.core.util.StringUtils;
|
||||||
|
@ -2,7 +2,7 @@ package com.gmail.nossr50.commands.chat;
|
|||||||
|
|
||||||
import com.gmail.nossr50.core.chat.ChatManager;
|
import com.gmail.nossr50.core.chat.ChatManager;
|
||||||
import com.gmail.nossr50.core.chat.ChatManagerFactory;
|
import com.gmail.nossr50.core.chat.ChatManagerFactory;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.commands.chat;
|
package com.gmail.nossr50.commands.chat;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.chat.PartyChatManager;
|
import com.gmail.nossr50.core.chat.PartyChatManager;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.database;
|
package com.gmail.nossr50.commands.database;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.database;
|
package com.gmail.nossr50.commands.database;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.database.DatabaseManagerFactory;
|
import com.gmail.nossr50.core.data.database.DatabaseManagerFactory;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.hardcore;
|
package com.gmail.nossr50.commands.hardcore;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.core.util.Permissions;
|
import com.gmail.nossr50.core.util.Permissions;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.hardcore;
|
package com.gmail.nossr50.commands.hardcore;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.core.util.Permissions;
|
import com.gmail.nossr50.core.util.Permissions;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party;
|
package com.gmail.nossr50.commands.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party;
|
package com.gmail.nossr50.commands.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party;
|
package com.gmail.nossr50.commands.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.ItemShareType;
|
import com.gmail.nossr50.core.datatypes.party.ItemShareType;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party;
|
package com.gmail.nossr50.commands.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party.alliance;
|
package com.gmail.nossr50.commands.party.alliance;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.party.teleport;
|
package com.gmail.nossr50.commands.party.teleport;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyTeleportRecord;
|
import com.gmail.nossr50.core.datatypes.party.PartyTeleportRecord;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.commands.party.teleport;
|
package com.gmail.nossr50.commands.party.teleport;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.player;
|
package com.gmail.nossr50.commands.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.player;
|
package com.gmail.nossr50.commands.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.player;
|
package com.gmail.nossr50.commands.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.player;
|
package com.gmail.nossr50.commands.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.util.commands.CommandUtils;
|
import com.gmail.nossr50.core.util.commands.CommandUtils;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.player;
|
package com.gmail.nossr50.commands.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.skills;
|
package com.gmail.nossr50.commands.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.commands.skills;
|
package com.gmail.nossr50.commands.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.commands.skills;
|
package com.gmail.nossr50.commands.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.gmail.nossr50.listeners;
|
package com.gmail.nossr50.listeners;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.gmail.nossr50.listeners;
|
package com.gmail.nossr50.listeners;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.meta.OldName;
|
import com.gmail.nossr50.core.datatypes.meta.OldName;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.listeners;
|
package com.gmail.nossr50.listeners;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.runnables.player.PlayerUpdateInventoryTask;
|
import com.gmail.nossr50.core.runnables.player.PlayerUpdateInventoryTask;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
|
@ -4,8 +4,8 @@ import com.gmail.nossr50.config.experience.ExperienceConfig;
|
|||||||
import com.gmail.nossr50.core.chat.ChatManager;
|
import com.gmail.nossr50.core.chat.ChatManager;
|
||||||
import com.gmail.nossr50.core.chat.ChatManagerFactory;
|
import com.gmail.nossr50.core.chat.ChatManagerFactory;
|
||||||
import com.gmail.nossr50.core.chat.PartyChatManager;
|
import com.gmail.nossr50.core.chat.PartyChatManager;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.listeners;
|
package com.gmail.nossr50.listeners;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.listeners;
|
package com.gmail.nossr50.listeners;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.blockmeta.conversion.BlockStoreConversionMain;
|
import com.gmail.nossr50.core.data.blockmeta.conversion.BlockStoreConversionMain;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
|
@ -8,7 +8,7 @@ import com.gmail.nossr50.config.mods.ToolConfigManager;
|
|||||||
import com.gmail.nossr50.config.skills.alchemy.PotionConfig;
|
import com.gmail.nossr50.config.skills.alchemy.PotionConfig;
|
||||||
import com.gmail.nossr50.config.skills.repair.RepairConfigManager;
|
import com.gmail.nossr50.config.skills.repair.RepairConfigManager;
|
||||||
import com.gmail.nossr50.config.skills.salvage.SalvageConfigManager;
|
import com.gmail.nossr50.config.skills.salvage.SalvageConfigManager;
|
||||||
import com.gmail.nossr50.core.config.skills.*;
|
import com.gmail.nossr50.core.config.*;
|
||||||
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.data.blockmeta.chunkmeta.ChunkManager;
|
import com.gmail.nossr50.core.data.blockmeta.chunkmeta.ChunkManager;
|
||||||
|
@ -2,10 +2,10 @@ package com.gmail.nossr50.core.api;
|
|||||||
|
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
|
import com.gmail.nossr50.core.mcmmo.entity.Living;
|
||||||
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
|
import com.gmail.nossr50.core.runnables.skills.BleedTimerTask;
|
||||||
import com.gmail.nossr50.core.skills.SuperAbilityType;
|
import com.gmail.nossr50.core.skills.SuperAbilityType;
|
||||||
import com.gmail.nossr50.runnables.skills.BleedTimerTask;
|
|
||||||
import org.bukkit.entity.LivingEntity;
|
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
|
|
||||||
public final class AbilityAPI {
|
public final class AbilityAPI {
|
||||||
private AbilityAPI() {
|
private AbilityAPI() {
|
||||||
@ -83,7 +83,7 @@ public final class AbilityAPI {
|
|||||||
UserManager.getPlayer(player).setAbilityDATS(SuperAbilityType.TREE_FELLER, cooldown);
|
UserManager.getPlayer(player).setAbilityDATS(SuperAbilityType.TREE_FELLER, cooldown);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isBleeding(LivingEntity entity) {
|
public static boolean isBleeding(Living entity) {
|
||||||
return BleedTimerTask.isBleeding(entity);
|
return BleedTimerTask.isBleeding(entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
package com.gmail.nossr50.core.api;
|
package com.gmail.nossr50.core.api;
|
||||||
|
|
||||||
import com.gmail.nossr50.chat.ChatManager;
|
import com.gmail.nossr50.core.chat.ChatManager;
|
||||||
import com.gmail.nossr50.chat.ChatManagerFactory;
|
import com.gmail.nossr50.core.chat.ChatManagerFactory;
|
||||||
import com.gmail.nossr50.chat.PartyChatManager;
|
import com.gmail.nossr50.core.chat.PartyChatManager;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.party.PartyManager;
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
import org.bukkit.entity.Player;
|
import com.gmail.nossr50.core.party.PartyManager;
|
||||||
import org.bukkit.plugin.Plugin;
|
|
||||||
|
|
||||||
public final class ChatAPI {
|
public final class ChatAPI {
|
||||||
private ChatAPI() {
|
private ChatAPI() {
|
||||||
|
@ -1,20 +1,18 @@
|
|||||||
package com.gmail.nossr50.core.api;
|
package com.gmail.nossr50.core.api;
|
||||||
|
|
||||||
import com.gmail.nossr50.api.exceptions.*;
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
|
||||||
import com.gmail.nossr50.core.api.exceptions.*;
|
import com.gmail.nossr50.core.api.exceptions.*;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.experience.ExperienceConfig;
|
||||||
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
||||||
|
import com.gmail.nossr50.core.mcmmo.block.BlockState;
|
||||||
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.core.skills.child.FamilyTree;
|
||||||
import com.gmail.nossr50.skills.child.FamilyTree;
|
|
||||||
import org.bukkit.block.BlockState;
|
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.api;
|
package com.gmail.nossr50.core.api;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
package com.gmail.nossr50.core.api.exceptions;
|
package com.gmail.nossr50.core.api.exceptions;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
|
|
||||||
public class McMMOPlayerNotFoundException extends RuntimeException {
|
public class McMMOPlayerNotFoundException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 761917904993202836L;
|
private static final long serialVersionUID = 761917904993202836L;
|
||||||
|
|
||||||
public McMMOPlayerNotFoundException(Player player) {
|
public McMMOPlayerNotFoundException(Player player) {
|
||||||
super("McMMOPlayer object was not found for: " + player.getName() + " " + player.getUniqueId());
|
super("McMMOPlayer object was not found for: " + player.getName() + " " + player.getUUID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.chat;
|
package com.gmail.nossr50.core.chat;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.events.chat.McMMOAdminChatEvent;
|
import com.gmail.nossr50.events.chat.McMMOAdminChatEvent;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.chat;
|
package com.gmail.nossr50.core.chat;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.runnables.party.PartyChatTask;
|
import com.gmail.nossr50.core.runnables.party.PartyChatTask;
|
||||||
import com.gmail.nossr50.events.chat.McMMOPartyChatEvent;
|
import com.gmail.nossr50.events.chat.McMMOPartyChatEvent;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.mcmmo.interactions.NotificationType;
|
import com.gmail.nossr50.core.mcmmo.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.SubSkillType;
|
import com.gmail.nossr50.core.mcmmo.skills.SubSkillType;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
package com.gmail.nossr50.core.config;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.data.database.SQLDatabaseManager;
|
import com.gmail.nossr50.core.data.database.SQLDatabaseManager;
|
||||||
import com.gmail.nossr50.core.mcmmo.MobHealthbarType;
|
import com.gmail.nossr50.core.datatypes.party.PartyFeature;
|
||||||
import com.gmail.nossr50.core.mcmmo.party.PartyFeature;
|
import com.gmail.nossr50.core.skills.MobHealthbarType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.SuperAbilityType;
|
import com.gmail.nossr50.core.skills.SuperAbilityType;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.core.util.StringUtils;
|
||||||
import org.bukkit.Material;
|
|
||||||
import org.bukkit.block.data.BlockData;
|
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
|
||||||
import org.bukkit.entity.EntityType;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.mcmmo.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.subskills.AbstractSubSkill;
|
import com.gmail.nossr50.core.mcmmo.skills.subskills.AbstractSubSkill;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.SubSkillType;
|
import com.gmail.nossr50.core.mcmmo.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.subskills.AbstractSubSkill;
|
import com.gmail.nossr50.core.mcmmo.skills.subskills.AbstractSubSkill;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.util.sounds.SoundType;
|
import com.gmail.nossr50.util.sounds.SoundType;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.core.config.skills;
|
package com.gmail.nossr50.core.config;
|
||||||
|
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.experience;
|
package com.gmail.nossr50.core.config.experience;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AutoUpdateConfigLoader;
|
import com.gmail.nossr50.core.config.AutoUpdateConfigLoader;
|
||||||
import com.gmail.nossr50.core.mcmmo.experience.FormulaType;
|
import com.gmail.nossr50.core.mcmmo.experience.FormulaType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.mcmmo.skills.PrimarySkillType;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.mods;
|
package com.gmail.nossr50.core.config.mods;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.ItemType;
|
import com.gmail.nossr50.core.mcmmo.skills.ItemType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
||||||
import com.gmail.nossr50.skills.repair.repairables.Repairable;
|
import com.gmail.nossr50.skills.repair.repairables.Repairable;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.mods;
|
package com.gmail.nossr50.core.config.mods;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.core.mcmmo.mods.CustomBlock;
|
import com.gmail.nossr50.core.mcmmo.mods.CustomBlock;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.mods;
|
package com.gmail.nossr50.core.config.mods;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.core.mcmmo.mods.CustomEntity;
|
import com.gmail.nossr50.core.mcmmo.mods.CustomEntity;
|
||||||
import org.apache.commons.lang.ClassUtils;
|
import org.apache.commons.lang.ClassUtils;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.mods;
|
package com.gmail.nossr50.core.config.mods;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.core.mcmmo.mods.CustomTool;
|
import com.gmail.nossr50.core.mcmmo.mods.CustomTool;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.ItemType;
|
import com.gmail.nossr50.core.mcmmo.skills.ItemType;
|
||||||
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
import com.gmail.nossr50.core.mcmmo.skills.MaterialType;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.party;
|
package com.gmail.nossr50.core.config.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.util.StringUtils;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.config.treasure;
|
package com.gmail.nossr50.core.config.treasure;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.ConfigLoader;
|
import com.gmail.nossr50.core.config.ConfigLoader;
|
||||||
import com.gmail.nossr50.util.EnchantmentUtils;
|
import com.gmail.nossr50.util.EnchantmentUtils;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.util.StringUtils;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
package com.gmail.nossr50.core.data;
|
package com.gmail.nossr50.core.data;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.mcmmo.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import org.bukkit.OfflinePlayer;
|
|
||||||
import org.bukkit.entity.Entity;
|
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
import org.bukkit.metadata.FixedMetadataValue;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.data.blockmeta;
|
package com.gmail.nossr50.core.data.blockmeta;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
|
|
||||||
public class ChunkletManagerFactory {
|
public class ChunkletManagerFactory {
|
||||||
public static ChunkletManager getChunkletManager() {
|
public static ChunkletManager getChunkletManager() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.data.blockmeta.chunkmeta;
|
package com.gmail.nossr50.core.data.blockmeta.chunkmeta;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
|
|
||||||
public class ChunkManagerFactory {
|
public class ChunkManagerFactory {
|
||||||
public static ChunkManager getChunkManager() {
|
public static ChunkManager getChunkManager() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.data.blockmeta.conversion;
|
package com.gmail.nossr50.core.data.blockmeta.conversion;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.scheduler.BukkitScheduler;
|
import org.bukkit.scheduler.BukkitScheduler;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.data.blockmeta.conversion;
|
package com.gmail.nossr50.core.data.blockmeta.conversion;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.scheduler.BukkitScheduler;
|
import org.bukkit.scheduler.BukkitScheduler;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.datatypes.party;
|
package com.gmail.nossr50.core.datatypes.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
||||||
import com.gmail.nossr50.locale.LocaleLoader;
|
import com.gmail.nossr50.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.datatypes.party;
|
package com.gmail.nossr50.core.datatypes.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.commands.party.PartySubcommandType;
|
import com.gmail.nossr50.commands.party.PartySubcommandType;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.locale.LocaleLoader;
|
import com.gmail.nossr50.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.util.Permissions;
|
import com.gmail.nossr50.util.Permissions;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.util.StringUtils;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.datatypes.party;
|
package com.gmail.nossr50.core.datatypes.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.util.Misc;
|
import com.gmail.nossr50.util.Misc;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.gmail.nossr50.core.datatypes.player;
|
package com.gmail.nossr50.core.datatypes.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.skills.WorldBlacklist;
|
import com.gmail.nossr50.core.config.WorldBlacklist;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.gmail.nossr50.core.datatypes.player;
|
package com.gmail.nossr50.core.datatypes.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
import com.gmail.nossr50.core.datatypes.experience.FormulaType;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.SkillXpGain;
|
import com.gmail.nossr50.core.datatypes.experience.SkillXpGain;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.locale;
|
package com.gmail.nossr50.core.locale;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package com.gmail.nossr50.core.mcmmo.entity;
|
|||||||
/**
|
/**
|
||||||
* Living means you can die, you have health, and you can be damaged
|
* Living means you can die, you have health, and you can be damaged
|
||||||
*/
|
*/
|
||||||
public interface Living {
|
public interface Living extends Entity {
|
||||||
/**
|
/**
|
||||||
* Whether or not this entity is still alive
|
* Whether or not this entity is still alive
|
||||||
*
|
*
|
||||||
@ -34,4 +34,10 @@ public interface Living {
|
|||||||
* @param damage the damage to deal to this entity
|
* @param damage the damage to deal to this entity
|
||||||
*/
|
*/
|
||||||
void damage(Entity source, int damage);
|
void damage(Entity source, int damage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not this entity still exists
|
||||||
|
* @return true if valid
|
||||||
|
*/
|
||||||
|
Boolean isValid();
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,8 @@ package com.gmail.nossr50.core.mcmmo.entity;
|
|||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.mcmmo.Nameable;
|
import com.gmail.nossr50.core.mcmmo.Nameable;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Players
|
* Players
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.party;
|
package com.gmail.nossr50.core.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
import com.gmail.nossr50.core.datatypes.chat.ChatMode;
|
||||||
import com.gmail.nossr50.core.datatypes.database.UpgradeType;
|
import com.gmail.nossr50.core.datatypes.database.UpgradeType;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.party;
|
package com.gmail.nossr50.core.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.party.ItemWeightConfig;
|
import com.gmail.nossr50.config.party.ItemWeightConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.backups;
|
package com.gmail.nossr50.core.runnables.backups;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
import org.bukkit.scheduler.BukkitRunnable;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.commands;
|
package com.gmail.nossr50.core.runnables.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.commands;
|
package com.gmail.nossr50.core.runnables.commands;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.database.PlayerStat;
|
import com.gmail.nossr50.core.datatypes.database.PlayerStat;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.database;
|
package com.gmail.nossr50.core.runnables.database;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.HiddenConfig;
|
import com.gmail.nossr50.core.config.HiddenConfig;
|
||||||
import com.gmail.nossr50.core.data.database.DatabaseManager;
|
import com.gmail.nossr50.core.data.database.DatabaseManager;
|
||||||
import com.gmail.nossr50.core.datatypes.database.UpgradeType;
|
import com.gmail.nossr50.core.datatypes.database.UpgradeType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.database;
|
package com.gmail.nossr50.core.runnables.database;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
import org.bukkit.scheduler.BukkitRunnable;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.items;
|
package com.gmail.nossr50.core.runnables.items;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.util.ChimaeraWing;
|
import com.gmail.nossr50.util.ChimaeraWing;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.items;
|
package com.gmail.nossr50.core.runnables.items;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.party.PartyManager;
|
import com.gmail.nossr50.party.PartyManager;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.party;
|
package com.gmail.nossr50.core.runnables.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import com.gmail.nossr50.party.PartyManager;
|
import com.gmail.nossr50.party.PartyManager;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.party;
|
package com.gmail.nossr50.core.runnables.party;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.party.Party;
|
import com.gmail.nossr50.core.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.player;
|
package com.gmail.nossr50.core.runnables.player;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
import com.gmail.nossr50.core.datatypes.player.PlayerProfile;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.skills;
|
package com.gmail.nossr50.core.runnables.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.skills.SuperAbilityType;
|
import com.gmail.nossr50.core.skills.SuperAbilityType;
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
package com.gmail.nossr50.core.runnables.skills;
|
package com.gmail.nossr50.core.runnables.skills;
|
||||||
|
|
||||||
import org.bukkit.entity.LivingEntity;
|
|
||||||
|
import com.gmail.nossr50.core.mcmmo.entity.Living;
|
||||||
|
|
||||||
public class BleedContainer {
|
public class BleedContainer {
|
||||||
public int bleedTicks;
|
public int bleedTicks;
|
||||||
public int bleedRank;
|
public int bleedRank;
|
||||||
public LivingEntity target;
|
public Living target;
|
||||||
public LivingEntity damageSource;
|
public Living damageSource;
|
||||||
|
|
||||||
public BleedContainer(LivingEntity target, int bleedTicks, int bleedRank, LivingEntity damageSource) {
|
public BleedContainer(Living target, int bleedTicks, int bleedRank, Living damageSource) {
|
||||||
this.target = target;
|
this.target = target;
|
||||||
this.bleedTicks = bleedTicks;
|
this.bleedTicks = bleedTicks;
|
||||||
this.bleedRank = bleedRank;
|
this.bleedRank = bleedRank;
|
||||||
|
@ -1,29 +1,28 @@
|
|||||||
package com.gmail.nossr50.core.runnables.skills;
|
package com.gmail.nossr50.core.runnables.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.core.mcmmo.entity.Living;
|
||||||
import com.gmail.nossr50.util.MobHealthbarUtils;
|
import com.gmail.nossr50.core.mcmmo.entity.Player;
|
||||||
import com.gmail.nossr50.util.player.NotificationManager;
|
import com.gmail.nossr50.core.util.MobHealthbarUtils;
|
||||||
import com.gmail.nossr50.util.skills.CombatUtils;
|
import com.gmail.nossr50.core.util.player.NotificationManager;
|
||||||
import com.gmail.nossr50.util.skills.ParticleEffectUtils;
|
import com.gmail.nossr50.core.util.skills.CombatUtils;
|
||||||
import com.gmail.nossr50.util.sounds.SoundManager;
|
import com.gmail.nossr50.core.util.skills.ParticleEffectUtils;
|
||||||
import com.gmail.nossr50.util.sounds.SoundType;
|
import com.gmail.nossr50.core.util.sounds.SoundManager;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import com.gmail.nossr50.core.util.sounds.SoundType;
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
public class BleedTimerTask extends BukkitRunnable {
|
public class BleedTimerTask extends BukkitRunnable {
|
||||||
private static Map<LivingEntity, BleedContainer> bleedList = new HashMap<LivingEntity, BleedContainer>();
|
private static Map<UUID, BleedContainer> bleedList = new HashMap<UUID, BleedContainer>();
|
||||||
|
|
||||||
public static BleedContainer copyContainer(BleedContainer container) {
|
public static BleedContainer copyContainer(BleedContainer container) {
|
||||||
LivingEntity target = container.target;
|
Living target = container.target;
|
||||||
LivingEntity source = container.damageSource;
|
Living source = container.damageSource;
|
||||||
int bleedTicks = container.bleedTicks;
|
int bleedTicks = container.bleedTicks;
|
||||||
int bleedRank = container.bleedRank;
|
int bleedRank = container.bleedRank;
|
||||||
|
|
||||||
@ -32,11 +31,11 @@ public class BleedTimerTask extends BukkitRunnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantly Bleed out a LivingEntity
|
* Instantly Bleed out a Living
|
||||||
*
|
*
|
||||||
* @param entity LivingEntity to bleed out
|
* @param entity Living to bleed out
|
||||||
*/
|
*/
|
||||||
public static void bleedOut(LivingEntity entity) {
|
public static void bleedOut(Living entity) {
|
||||||
/*
|
/*
|
||||||
* Don't remove anything from the list outside of run()
|
* Don't remove anything from the list outside of run()
|
||||||
*/
|
*/
|
||||||
@ -47,27 +46,27 @@ public class BleedTimerTask extends BukkitRunnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a LivingEntity to the bleedList if it is not in it.
|
* Add a Living to the bleedList if it is not in it.
|
||||||
*
|
*
|
||||||
* @param entity LivingEntity to add
|
* @param entity Living to add
|
||||||
* @param ticks Number of bleeding ticks
|
* @param ticks Number of bleeding ticks
|
||||||
*/
|
*/
|
||||||
public static void add(LivingEntity entity, LivingEntity attacker, int ticks, int bleedRank) {
|
public static void add(Living entity, Living attacker, int ticks, int bleedRank) {
|
||||||
BleedContainer newBleedContainer = new BleedContainer(entity, ticks, bleedRank, attacker);
|
BleedContainer newBleedContainer = new BleedContainer(entity, ticks, bleedRank, attacker);
|
||||||
bleedList.put(entity, newBleedContainer);
|
bleedList.put(entity, newBleedContainer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isBleeding(LivingEntity entity) {
|
public static boolean isBleeding(Living entity) {
|
||||||
return bleedList.containsKey(entity);
|
return bleedList.containsKey(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
Iterator<Entry<LivingEntity, BleedContainer>> bleedIterator = bleedList.entrySet().iterator();
|
Iterator<Entry<Living, BleedContainer>> bleedIterator = bleedList.entrySet().iterator();
|
||||||
|
|
||||||
while (bleedIterator.hasNext()) {
|
while (bleedIterator.hasNext()) {
|
||||||
Entry<LivingEntity, BleedContainer> containerEntry = bleedIterator.next();
|
Entry<Living, BleedContainer> containerEntry = bleedIterator.next();
|
||||||
LivingEntity target = containerEntry.getKey();
|
Living target = containerEntry.getKey();
|
||||||
|
|
||||||
int bleedTicks = containerEntry.getValue().bleedTicks;
|
int bleedTicks = containerEntry.getValue().bleedTicks;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.runnables.skills;
|
package com.gmail.nossr50.core.runnables.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.skills.ToolType;
|
import com.gmail.nossr50.core.skills.ToolType;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills;
|
package com.gmail.nossr50.core.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.locale.LocaleLoader;
|
import com.gmail.nossr50.locale.LocaleLoader;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import com.gmail.nossr50.skills.acrobatics.AcrobaticsManager;
|
import com.gmail.nossr50.skills.acrobatics.AcrobaticsManager;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills;
|
package com.gmail.nossr50.core.skills;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.util.BlockUtils;
|
import com.gmail.nossr50.util.BlockUtils;
|
||||||
import com.gmail.nossr50.util.Permissions;
|
import com.gmail.nossr50.util.Permissions;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.util.StringUtils;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.child;
|
package com.gmail.nossr50.core.skills.child;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AutoUpdateConfigLoader;
|
import com.gmail.nossr50.core.config.AutoUpdateConfigLoader;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.util.StringUtils;
|
import com.gmail.nossr50.util.StringUtils;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.child.salvage;
|
package com.gmail.nossr50.core.skills.child.salvage;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
|
||||||
public class Salvage {
|
public class Salvage {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.child.salvage;
|
package com.gmail.nossr50.core.skills.child.salvage;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.locale.LocaleLoader;
|
import com.gmail.nossr50.core.locale.LocaleLoader;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.child.smelting;
|
package com.gmail.nossr50.core.skills.child.smelting;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
import com.gmail.nossr50.core.skills.SubSkillType;
|
import com.gmail.nossr50.core.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.child.smelting;
|
package com.gmail.nossr50.core.skills.child.smelting;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainSource;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.acrobatics;
|
package com.gmail.nossr50.core.skills.primary.acrobatics;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
|
|
||||||
public final class Acrobatics {
|
public final class Acrobatics {
|
||||||
public static double dodgeDamageModifier = AdvancedConfig.getInstance().getDodgeDamageModifier();
|
public static double dodgeDamageModifier = AdvancedConfig.getInstance().getDodgeDamageModifier();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.alchemy;
|
package com.gmail.nossr50.core.skills.primary.alchemy;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.skills.SubSkillType;
|
import com.gmail.nossr50.core.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import com.gmail.nossr50.runnables.skills.AlchemyBrewTask;
|
import com.gmail.nossr50.runnables.skills.AlchemyBrewTask;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.archery;
|
package com.gmail.nossr50.core.skills.primary.archery;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.skills.SubSkillType;
|
import com.gmail.nossr50.core.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.util.Misc;
|
import com.gmail.nossr50.util.Misc;
|
||||||
import com.gmail.nossr50.util.skills.RankUtils;
|
import com.gmail.nossr50.util.skills.RankUtils;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.axes;
|
package com.gmail.nossr50.core.skills.primary.axes;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.skills.SubSkillType;
|
import com.gmail.nossr50.core.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.util.ItemUtils;
|
import com.gmail.nossr50.util.ItemUtils;
|
||||||
import com.gmail.nossr50.util.skills.RankUtils;
|
import com.gmail.nossr50.util.skills.RankUtils;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.excavation;
|
package com.gmail.nossr50.core.skills.primary.excavation;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
import com.gmail.nossr50.core.datatypes.player.McMMOPlayer;
|
||||||
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
import com.gmail.nossr50.core.skills.PrimarySkillType;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.fishing;
|
package com.gmail.nossr50.core.skills.primary.fishing;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
||||||
import com.gmail.nossr50.core.skills.treasure.ShakeTreasure;
|
import com.gmail.nossr50.core.skills.treasure.ShakeTreasure;
|
||||||
import com.gmail.nossr50.util.Misc;
|
import com.gmail.nossr50.util.Misc;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.fishing;
|
package com.gmail.nossr50.core.skills.primary.fishing;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.herbalism;
|
package com.gmail.nossr50.core.skills.primary.herbalism;
|
||||||
|
|
||||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
import com.gmail.nossr50.core.config.treasure.TreasureConfig;
|
||||||
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
import com.gmail.nossr50.core.datatypes.experience.XPGainReason;
|
||||||
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
import com.gmail.nossr50.core.datatypes.interactions.NotificationType;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.gmail.nossr50.core.skills.primary.mining;
|
package com.gmail.nossr50.core.skills.primary.mining;
|
||||||
|
|
||||||
import com.gmail.nossr50.core.config.skills.AdvancedConfig;
|
import com.gmail.nossr50.core.config.AdvancedConfig;
|
||||||
import com.gmail.nossr50.core.config.skills.Config;
|
import com.gmail.nossr50.core.config.Config;
|
||||||
import com.gmail.nossr50.core.data.UserManager;
|
import com.gmail.nossr50.core.data.UserManager;
|
||||||
import com.gmail.nossr50.core.skills.SubSkillType;
|
import com.gmail.nossr50.core.skills.SubSkillType;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user