mirror of https://github.com/PikaMug/Quests.git
137 lines
4.8 KiB
Java
137 lines
4.8 KiB
Java
/*
|
|
* Copyright (c) 2014 PikaMug and contributors. All rights reserved.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
|
* NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
|
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
package me.blackvein.quests.quests;
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.LinkedList;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
public class BukkitRewards {
|
|
private int money = 0;
|
|
private int questPoints = 0;
|
|
private int exp = 0;
|
|
private List<String> commands = new LinkedList<>();
|
|
private List<String> commandsOverrideDisplay = new LinkedList<>();
|
|
private List<String> permissions = new LinkedList<>();
|
|
private List<String> permissionWorlds = new LinkedList<>();
|
|
private List<ItemStack> items = new LinkedList<>();
|
|
private List<String> mcmmoSkills = new LinkedList<>();
|
|
private List<Integer> mcmmoAmounts = new LinkedList<>();
|
|
private List<String> heroesClasses = new LinkedList<>();
|
|
private List<Double> heroesAmounts = new LinkedList<>();
|
|
private int partiesExperience = 0;
|
|
private List<String> phatLoots = new LinkedList<>();
|
|
private Map<String, Map<String, Object>> customRewards = new HashMap<>();
|
|
private List<String> detailsOverride = new LinkedList<>();
|
|
|
|
public int getMoney() {
|
|
return money;
|
|
}
|
|
public void setMoney(final int money) {
|
|
this.money = money;
|
|
}
|
|
public int getQuestPoints() {
|
|
return questPoints;
|
|
}
|
|
public void setQuestPoints(final int questPoints) {
|
|
this.questPoints = questPoints;
|
|
}
|
|
public int getExp() {
|
|
return exp;
|
|
}
|
|
public void setExp(final int exp) {
|
|
this.exp = exp;
|
|
}
|
|
public List<String> getCommands() {
|
|
return commands;
|
|
}
|
|
public void setCommands(final List<String> commands) {
|
|
this.commands = commands;
|
|
}
|
|
public List<String> getCommandsOverrideDisplay() {
|
|
return commandsOverrideDisplay;
|
|
}
|
|
public void setCommandsOverrideDisplay(final List<String> commandsOverrideDisplay) {
|
|
this.commandsOverrideDisplay = commandsOverrideDisplay;
|
|
}
|
|
public List<String> getPermissions() {
|
|
return permissions;
|
|
}
|
|
public void setPermissions(final List<String> permissions) {
|
|
this.permissions = permissions;
|
|
}
|
|
public List<String> getPermissionWorlds() {
|
|
return permissionWorlds;
|
|
}
|
|
public void setPermissionWorlds(final List<String> worldNames) {
|
|
this.permissionWorlds = worldNames;
|
|
}
|
|
public List<ItemStack> getItems() {
|
|
return items;
|
|
}
|
|
public void setItems(final List<ItemStack> items) {
|
|
this.items = items;
|
|
}
|
|
public List<String> getMcmmoSkills() {
|
|
return mcmmoSkills;
|
|
}
|
|
public void setMcmmoSkills(final List<String> mcmmoSkills) {
|
|
this.mcmmoSkills = mcmmoSkills;
|
|
}
|
|
public List<Integer> getMcmmoAmounts() {
|
|
return mcmmoAmounts;
|
|
}
|
|
public void setMcmmoAmounts(final List<Integer> mcmmoAmounts) {
|
|
this.mcmmoAmounts = mcmmoAmounts;
|
|
}
|
|
public List<String> getHeroesClasses() {
|
|
return heroesClasses;
|
|
}
|
|
public void setHeroesClasses(final List<String> heroesClasses) {
|
|
this.heroesClasses = heroesClasses;
|
|
}
|
|
public List<Double> getHeroesAmounts() {
|
|
return heroesAmounts;
|
|
}
|
|
public void setHeroesAmounts(final List<Double> heroesAmounts) {
|
|
this.heroesAmounts = heroesAmounts;
|
|
}
|
|
public int getPartiesExperience() {
|
|
return partiesExperience;
|
|
}
|
|
public void setPartiesExperience(final int partiesExperience) {
|
|
this.partiesExperience = partiesExperience;
|
|
}
|
|
public List<String> getPhatLoots() {
|
|
return phatLoots;
|
|
}
|
|
public void setPhatLoots(final List<String> phatLoots) {
|
|
this.phatLoots = phatLoots;
|
|
}
|
|
public Map<String, Map<String, Object>> getCustomRewards() {
|
|
return customRewards;
|
|
}
|
|
protected void setCustomRewards(final Map<String, Map<String, Object>> customRewards) {
|
|
this.customRewards = customRewards;
|
|
}
|
|
public List<String> getDetailsOverride() {
|
|
return detailsOverride;
|
|
}
|
|
public void setDetailsOverride(final List<String> detailsOverride) {
|
|
this.detailsOverride = detailsOverride;
|
|
}
|
|
}
|