This commit is contained in:
Olof Larsson 2012-11-11 13:07:30 +01:00
parent 822db7a308
commit 000a9e628a
352 changed files with 1286 additions and 1285 deletions

View File

@ -1,6 +1,6 @@
name: mcore4
name: mcore5
version: 1.0.0
main: com.massivecraft.mcore4.MCore
main: com.massivecraft.mcore5.MCore
load: startup
permissions:
# -------------------------------------------- #

View File

@ -1,12 +1,12 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.io.File;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import com.massivecraft.mcore4.usys.cmd.CmdUsys;
import com.massivecraft.mcore4.util.MUtil;
import com.massivecraft.mcore5.usys.cmd.CmdUsys;
import com.massivecraft.mcore5.util.MUtil;
public class Conf extends SimpleConfig
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.util.HashMap;
import java.util.Map;
@ -14,11 +14,11 @@ import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.event.player.PlayerRespawnEvent;
import org.bukkit.event.player.PlayerTeleportEvent;
import com.massivecraft.mcore4.event.MCoreAfterPlayerRespawnEvent;
import com.massivecraft.mcore4.event.MCoreAfterPlayerTeleportEvent;
import com.massivecraft.mcore4.event.MCorePlayerLeaveEvent;
import com.massivecraft.mcore4.store.Coll;
import com.massivecraft.mcore4.store.PlayerColl;
import com.massivecraft.mcore5.event.MCoreAfterPlayerRespawnEvent;
import com.massivecraft.mcore5.event.MCoreAfterPlayerTeleportEvent;
import com.massivecraft.mcore5.event.MCorePlayerLeaveEvent;
import com.massivecraft.mcore5.store.Coll;
import com.massivecraft.mcore5.store.PlayerColl;
public class InternalListener implements Listener
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
public class Lang
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.lang.reflect.Modifier;
import java.util.Random;
@ -7,20 +7,20 @@ import org.bukkit.Bukkit;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.mcore4.adapter.InventoryAdapter;
import com.massivecraft.mcore4.adapter.ItemStackAdapter;
import com.massivecraft.mcore4.adapter.MongoURIAdapter;
import com.massivecraft.mcore4.adapter.PSAdapter;
import com.massivecraft.mcore4.store.Coll;
import com.massivecraft.mcore4.store.Db;
import com.massivecraft.mcore4.store.MStore;
import com.massivecraft.mcore4.usys.AspectColl;
import com.massivecraft.mcore4.usys.MultiverseColl;
import com.massivecraft.mcore4.usys.cmd.CmdUsys;
import com.massivecraft.mcore4.util.PlayerUtil;
import com.massivecraft.mcore4.xlib.gson.Gson;
import com.massivecraft.mcore4.xlib.gson.GsonBuilder;
import com.massivecraft.mcore4.xlib.mongodb.MongoURI;
import com.massivecraft.mcore5.adapter.InventoryAdapter;
import com.massivecraft.mcore5.adapter.ItemStackAdapter;
import com.massivecraft.mcore5.adapter.MongoURIAdapter;
import com.massivecraft.mcore5.adapter.PSAdapter;
import com.massivecraft.mcore5.store.Coll;
import com.massivecraft.mcore5.store.Db;
import com.massivecraft.mcore5.store.MStore;
import com.massivecraft.mcore5.usys.AspectColl;
import com.massivecraft.mcore5.usys.MultiverseColl;
import com.massivecraft.mcore5.usys.cmd.CmdUsys;
import com.massivecraft.mcore5.util.PlayerUtil;
import com.massivecraft.mcore5.xlib.gson.Gson;
import com.massivecraft.mcore5.xlib.gson.GsonBuilder;
import com.massivecraft.mcore5.xlib.mongodb.MongoURI;
public class MCore extends MPlugin
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.util.logging.Level;
import java.util.logging.Logger;
@ -9,12 +9,12 @@ import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import com.massivecraft.mcore4.integration.Integration;
import com.massivecraft.mcore4.integration.IntegrationFeatures;
import com.massivecraft.mcore4.store.Coll;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore4.xlib.gson.Gson;
import com.massivecraft.mcore4.xlib.gson.GsonBuilder;
import com.massivecraft.mcore5.integration.Integration;
import com.massivecraft.mcore5.integration.IntegrationFeatures;
import com.massivecraft.mcore5.store.Coll;
import com.massivecraft.mcore5.util.Txt;
import com.massivecraft.mcore5.xlib.gson.Gson;
import com.massivecraft.mcore5.xlib.gson.GsonBuilder;
public abstract class MPlugin extends JavaPlugin implements Listener
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.text.DecimalFormat;
import java.util.ArrayList;
@ -16,8 +16,8 @@ import org.bukkit.block.Block;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore4.xlib.gson.annotations.SerializedName;
import com.massivecraft.mcore5.util.Txt;
import com.massivecraft.mcore5.xlib.gson.annotations.SerializedName;
/**
* PS stands for PhysicalState.

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import org.bukkit.entity.Entity;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import org.bukkit.Location;
import org.bukkit.entity.Entity;

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore4.util.Perm;
import com.massivecraft.mcore5.util.Perm;
public enum Permission
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
public interface Predictate<T>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4;
package com.massivecraft.mcore5;
import java.io.File;
import com.massivecraft.mcore4.store.accessor.Accessor;
import com.massivecraft.mcore4.util.DiscUtil;
import com.massivecraft.mcore5.store.accessor.Accessor;
import com.massivecraft.mcore5.util.DiscUtil;
public class SimpleConfig
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import java.lang.reflect.Type;
@ -6,14 +6,14 @@ import org.bukkit.craftbukkit.inventory.CraftInventoryCustom;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonObject;
import com.massivecraft.mcore4.xlib.gson.JsonParseException;
import com.massivecraft.mcore4.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore4.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonSerializer;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonObject;
import com.massivecraft.mcore5.xlib.gson.JsonParseException;
import com.massivecraft.mcore5.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore5.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonSerializer;
public class InventoryAdapter implements JsonDeserializer<Inventory>, JsonSerializer<Inventory>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import java.lang.reflect.Type;
import java.util.Map.Entry;
@ -10,13 +10,13 @@ import org.bukkit.craftbukkit.inventory.CraftItemStack;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonObject;
import com.massivecraft.mcore4.xlib.gson.JsonParseException;
import com.massivecraft.mcore4.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonSerializer;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonObject;
import com.massivecraft.mcore5.xlib.gson.JsonParseException;
import com.massivecraft.mcore5.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonSerializer;
public class ItemStackAdapter implements JsonDeserializer<ItemStack>, JsonSerializer<ItemStack>
{

View File

@ -1,15 +1,15 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import java.lang.reflect.Type;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonParseException;
import com.massivecraft.mcore4.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore4.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonSerializer;
import com.massivecraft.mcore4.xlib.mongodb.MongoURI;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonParseException;
import com.massivecraft.mcore5.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore5.xlib.gson.JsonSerializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonSerializer;
import com.massivecraft.mcore5.xlib.mongodb.MongoURI;
public class MongoURIAdapter implements JsonDeserializer<MongoURI>, JsonSerializer<MongoURI>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import net.minecraft.server.NBTBase;
import net.minecraft.server.NBTTagByte;
@ -18,10 +18,10 @@ import java.util.Collection;
import java.util.Iterator;
import java.util.Map.Entry;
import com.massivecraft.mcore4.xlib.gson.JsonArray;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonObject;
import com.massivecraft.mcore4.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore5.xlib.gson.JsonArray;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonObject;
import com.massivecraft.mcore5.xlib.gson.JsonPrimitive;
public class NbtGsonConverter
{

View File

@ -1,15 +1,15 @@
package com.massivecraft.mcore4.adapter;
package com.massivecraft.mcore5.adapter;
import java.lang.reflect.Type;
import com.massivecraft.mcore4.PS;
import com.massivecraft.mcore4.xlib.gson.Gson;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore4.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonParseException;
import com.massivecraft.mcore4.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore4.xlib.mongodb.MongoURI;
import com.massivecraft.mcore5.PS;
import com.massivecraft.mcore5.xlib.gson.Gson;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializationContext;
import com.massivecraft.mcore5.xlib.gson.JsonDeserializer;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonParseException;
import com.massivecraft.mcore5.xlib.gson.JsonPrimitive;
import com.massivecraft.mcore5.xlib.mongodb.MongoURI;
public class PSAdapter implements JsonDeserializer<PS>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4.cmd;
package com.massivecraft.mcore5.cmd;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.util.Txt;
public class BukkitGlueCommand extends Command
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd;
package com.massivecraft.mcore5.cmd;
import java.util.ArrayList;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.cmd.arg.ARInteger;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.cmd.arg.ARInteger;
import com.massivecraft.mcore5.util.Txt;
public class HelpCommand extends MCommand
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd;
package com.massivecraft.mcore5.cmd;
import java.util.*;
import java.util.Map.Entry;
@ -11,15 +11,15 @@ import org.bukkit.command.CommandSender;
import org.bukkit.command.SimpleCommandMap;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.Lang;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.cmd.arg.ArgReader;
import com.massivecraft.mcore4.cmd.arg.ArgResult;
import com.massivecraft.mcore4.cmd.req.IReq;
import com.massivecraft.mcore4.cmd.req.ReqHasPerm;
import com.massivecraft.mcore4.util.BukkitCommandUtil;
import com.massivecraft.mcore4.util.Perm;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.Lang;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.cmd.arg.ArgReader;
import com.massivecraft.mcore5.cmd.arg.ArgResult;
import com.massivecraft.mcore5.cmd.req.IReq;
import com.massivecraft.mcore5.cmd.req.ReqHasPerm;
import com.massivecraft.mcore5.util.BukkitCommandUtil;
import com.massivecraft.mcore5.util.Perm;
import com.massivecraft.mcore5.util.Txt;
public abstract class MCommand
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd;
package com.massivecraft.mcore5.cmd;
public enum VisibilityMode
{

View File

@ -1,6 +1,6 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public abstract class ARAbstractPrimitive<T> implements ArgReader<T>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.Txt;
public abstract class ARAbstractSelect<T> implements ArgReader<T>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.Txt;
public abstract class ARAbstractStringMatch implements ArgReader<String>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import com.massivecraft.mcore4.Permission;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.usys.Aspect;
import com.massivecraft.mcore4.usys.AspectColl;
import com.massivecraft.mcore5.Permission;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.usys.Aspect;
import com.massivecraft.mcore5.usys.AspectColl;
public class ARAspect extends ARAbstractSelect<Aspect>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARBoolean extends ARAbstractPrimitive<Boolean>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARByte extends ARAbstractPrimitive<Byte>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARDouble extends ARAbstractPrimitive<Double>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import org.bukkit.World.Environment;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.MUtil;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.MUtil;
public class AREnvironment extends ARAbstractSelect<Environment>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARFloat extends ARAbstractPrimitive<Float>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARInteger extends ARAbstractPrimitive<Integer>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARLong extends ARAbstractPrimitive<Long>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import org.bukkit.Material;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public class ARMaterial implements ArgReader<Material>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import com.massivecraft.mcore4.Permission;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.usys.Multiverse;
import com.massivecraft.mcore4.usys.MultiverseColl;
import com.massivecraft.mcore5.Permission;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.usys.Multiverse;
import com.massivecraft.mcore5.usys.MultiverseColl;
public class ARMultiverse extends ARAbstractSelect<Multiverse>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public class AROnlinePlayerExact implements ArgReader<Player>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.ArrayList;
import java.util.List;
@ -6,8 +6,8 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.Txt;
public class AROnlinePlayerMatch implements ArgReader<Player>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
public class ARString extends ARAbstractPrimitive<String>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.store.Coll;
import com.massivecraft.mcore4.store.Entity;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.store.Coll;
import com.massivecraft.mcore5.store.Entity;
public class ARStringEntity<E extends Entity<E, String>> implements ArgReader<E>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.ArrayList;
import java.util.Collection;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.usys.Multiverse;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.usys.Multiverse;
import com.massivecraft.mcore5.util.Txt;
public class ARUniverse implements ArgReader<String>
{

View File

@ -1,11 +1,12 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.World;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public class ARWorld extends ARAbstractSelect<World>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.Collection;
import org.bukkit.WorldType;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.MUtil;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.MUtil;
public class ARWorldType extends ARAbstractSelect<WorldType>
{

View File

@ -1,6 +1,6 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public interface ArgReader<T>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.cmd.arg;
package com.massivecraft.mcore5.cmd.arg;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.cmd.req;
package com.massivecraft.mcore5.cmd.req;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.cmd.MCommand;
public interface IReq
{

View File

@ -1,12 +1,12 @@
package com.massivecraft.mcore4.cmd.req;
package com.massivecraft.mcore5.cmd.req;
import lombok.Getter;
import lombok.Setter;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore4.util.Perm;
import com.massivecraft.mcore5.cmd.MCommand;
import com.massivecraft.mcore5.util.Perm;
public class ReqHasPerm implements IReq
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore4.cmd.req;
package com.massivecraft.mcore5.cmd.req;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.Lang;
import com.massivecraft.mcore4.cmd.MCommand;
import com.massivecraft.mcore5.Lang;
import com.massivecraft.mcore5.cmd.MCommand;
public class ReqIsPlayer implements IReq
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.event;
package com.massivecraft.mcore5.event;
import lombok.Getter;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.event;
package com.massivecraft.mcore5.event;
import lombok.Getter;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.event;
package com.massivecraft.mcore5.event;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.integration;
package com.massivecraft.mcore5.integration;
import lombok.Getter;
@ -10,8 +10,8 @@ import org.bukkit.event.server.PluginDisableEvent;
import org.bukkit.event.server.PluginEnableEvent;
import org.bukkit.plugin.Plugin;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.util.Txt;
public class Integration implements Listener
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.integration;
package com.massivecraft.mcore5.integration;
public interface IntegrationFeatures
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.integration;
package com.massivecraft.mcore5.integration;
public abstract class IntegrationFeaturesAbstract implements IntegrationFeatures
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Collection;
import java.util.Collections;
@ -11,12 +11,12 @@ import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import com.massivecraft.mcore4.MCore;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.Predictate;
import com.massivecraft.mcore4.store.accessor.Accessor;
import com.massivecraft.mcore4.store.idstrategy.IdStrategy;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore5.MCore;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.Predictate;
import com.massivecraft.mcore5.store.accessor.Accessor;
import com.massivecraft.mcore5.store.idstrategy.IdStrategy;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapter;
public class Coll<E, L> implements CollInterface<E, L>
{

View File

@ -1,13 +1,13 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Collection;
import java.util.Comparator;
import java.util.Map;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.Predictate;
import com.massivecraft.mcore4.store.idstrategy.IdStrategy;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.Predictate;
import com.massivecraft.mcore5.store.idstrategy.IdStrategy;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapter;
public interface CollInterface<E, L>
{

View File

@ -1,13 +1,13 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.massivecraft.mcore4.usys.Aspect;
import com.massivecraft.mcore4.usys.Multiverse;
import com.massivecraft.mcore4.util.MUtil;
import com.massivecraft.mcore5.usys.Aspect;
import com.massivecraft.mcore5.usys.Multiverse;
import com.massivecraft.mcore5.util.MUtil;
public abstract class Colls<C extends Coll<E, L>, E, L>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Set;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Set;

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.io.File;
import com.massivecraft.mcore4.util.DiscUtil;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore5.util.DiscUtil;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
public class DbGson extends DbAbstract<JsonElement>
{

View File

@ -1,7 +1,7 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import com.massivecraft.mcore4.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore4.xlib.mongodb.DB;
import com.massivecraft.mcore5.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore5.xlib.mongodb.DB;
public class DbMongo extends DbAbstract<BasicDBObject>
{

View File

@ -1,12 +1,12 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import com.massivecraft.mcore4.store.idstrategy.IdStrategy;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore5.store.idstrategy.IdStrategy;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapter;
public interface Driver<R>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.HashMap;
import java.util.Map;
import com.massivecraft.mcore4.store.idstrategy.IdStrategy;
import com.massivecraft.mcore5.store.idstrategy.IdStrategy;
public abstract class DriverAbstract<R> implements Driver<R>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.io.File;
import java.util.AbstractMap.SimpleEntry;
@ -11,14 +11,14 @@ import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyAiGson;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyOidGson;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyUuidMongoAndGson;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapterGson;
import com.massivecraft.mcore4.util.DiscUtil;
import com.massivecraft.mcore4.xlib.gson.JsonElement;
import com.massivecraft.mcore4.xlib.gson.JsonParser;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyAiGson;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyOidGson;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyUuidMongoAndGson;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapterGson;
import com.massivecraft.mcore5.util.DiscUtil;
import com.massivecraft.mcore5.xlib.gson.JsonElement;
import com.massivecraft.mcore5.xlib.gson.JsonParser;
public class DriverGson extends DriverAbstract<JsonElement>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.ArrayList;
import java.util.Collection;
@ -9,16 +9,16 @@ import java.util.Set;
import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyAiMongo;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyOidMongo;
import com.massivecraft.mcore4.store.idstrategy.IdStrategyUuidMongoAndGson;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore4.store.storeadapter.StoreAdapterMongo;
import com.massivecraft.mcore4.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore4.xlib.mongodb.DB;
import com.massivecraft.mcore4.xlib.mongodb.DBCollection;
import com.massivecraft.mcore4.xlib.mongodb.DBCursor;
import com.massivecraft.mcore4.xlib.mongodb.MongoURI;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyAiMongo;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyOidMongo;
import com.massivecraft.mcore5.store.idstrategy.IdStrategyUuidMongoAndGson;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapter;
import com.massivecraft.mcore5.store.storeadapter.StoreAdapterMongo;
import com.massivecraft.mcore5.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore5.xlib.mongodb.DB;
import com.massivecraft.mcore5.xlib.mongodb.DBCollection;
import com.massivecraft.mcore5.xlib.mongodb.DBCursor;
import com.massivecraft.mcore5.xlib.mongodb.MongoURI;
public class DriverMongo extends DriverAbstract<BasicDBObject>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import com.massivecraft.mcore4.MCore;
import com.massivecraft.mcore4.store.accessor.Accessor;
import com.massivecraft.mcore4.xlib.gson.Gson;
import com.massivecraft.mcore5.MCore;
import com.massivecraft.mcore5.store.accessor.Accessor;
import com.massivecraft.mcore5.xlib.gson.Gson;
/**
* Usage of this class is highly optional. You may persist anything. If you are

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
public class ExamineThread<E, L> extends Thread
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.io.File;
import java.io.FileFilter;

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import com.massivecraft.mcore4.MCore;
import com.massivecraft.mcore5.MCore;
public class MStore

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import com.massivecraft.mcore4.Predictate;
import com.massivecraft.mcore5.Predictate;
public class MStoreUtil
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
public enum ModificationState
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.ArrayList;
import java.util.Collection;
@ -7,15 +7,15 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.MCore;
import com.massivecraft.mcore4.MPlugin;
import com.massivecraft.mcore4.Predictate;
import com.massivecraft.mcore4.cmd.arg.ARStringEntity;
import com.massivecraft.mcore4.cmd.arg.ARStringMatchFullCI;
import com.massivecraft.mcore4.cmd.arg.ARStringMatchStartCI;
import com.massivecraft.mcore4.cmd.arg.ArgReader;
import com.massivecraft.mcore4.util.MUtil;
import com.massivecraft.mcore4.util.PlayerUtil;
import com.massivecraft.mcore5.MCore;
import com.massivecraft.mcore5.MPlugin;
import com.massivecraft.mcore5.Predictate;
import com.massivecraft.mcore5.cmd.arg.ARStringEntity;
import com.massivecraft.mcore5.cmd.arg.ARStringMatchFullCI;
import com.massivecraft.mcore5.cmd.arg.ARStringMatchStartCI;
import com.massivecraft.mcore5.cmd.arg.ArgReader;
import com.massivecraft.mcore5.util.MUtil;
import com.massivecraft.mcore5.util.PlayerUtil;
public class PlayerColl<E extends PlayerEntity<E>> extends Coll<E, String>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store;
package com.massivecraft.mcore5.store;
import java.util.Collection;
@ -6,8 +6,8 @@ import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.entity.Player;
import com.massivecraft.mcore4.util.PlayerUtil;
import com.massivecraft.mcore4.util.Txt;
import com.massivecraft.mcore5.util.PlayerUtil;
import com.massivecraft.mcore5.util.Txt;
public abstract class PlayerEntity<E extends PlayerEntity<E>> extends Entity<E, String>

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface EntityAccessor extends EntitySetter, EntityGetter, EntityGlue
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.util.Collection;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface EntityGetter
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface EntitySetter
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface PropertyAccessor extends PropertySetter, PropertyGetter
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public class PropertyAccessorComposite implements PropertyAccessor
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface PropertyGetter
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.lang.reflect.Field;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.lang.reflect.Method;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
public interface PropertySetter
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.lang.reflect.Field;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore4.store.accessor;
package com.massivecraft.mcore5.store.accessor;
import java.lang.reflect.Method;

View File

@ -1,6 +1,6 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore5.store.CollInterface;
/**
* The tasks of the IdStrategy:

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import java.util.Collection;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore5.store.CollInterface;
public abstract class IdStrategyAbstract<L, R> implements IdStrategy<L, R>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import java.io.File;
import java.io.IOException;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore4.store.DbGson;
import com.massivecraft.mcore4.util.DiscUtil;
import com.massivecraft.mcore5.store.CollInterface;
import com.massivecraft.mcore5.store.DbGson;
import com.massivecraft.mcore5.util.DiscUtil;
public class IdStrategyAiGson extends IdStrategyAbstract<String, String>
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore4.store.DbMongo;
import com.massivecraft.mcore4.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore4.xlib.mongodb.DBCollection;
import com.massivecraft.mcore4.xlib.mongodb.DBObject;
import com.massivecraft.mcore5.store.CollInterface;
import com.massivecraft.mcore5.store.DbMongo;
import com.massivecraft.mcore5.xlib.mongodb.BasicDBObject;
import com.massivecraft.mcore5.xlib.mongodb.DBCollection;
import com.massivecraft.mcore5.xlib.mongodb.DBObject;
public class IdStrategyAiMongo extends IdStrategyAbstract<String, String>
{

View File

@ -1,7 +1,7 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore4.xlib.bson.types.ObjectId;
import com.massivecraft.mcore5.store.CollInterface;
import com.massivecraft.mcore5.xlib.bson.types.ObjectId;
public class IdStrategyOidGson extends IdStrategyAbstract<ObjectId, String>
{

View File

@ -1,7 +1,7 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore4.xlib.bson.types.ObjectId;
import com.massivecraft.mcore5.store.CollInterface;
import com.massivecraft.mcore5.xlib.bson.types.ObjectId;
public class IdStrategyOidMongo extends IdStrategyAbstract<ObjectId, ObjectId>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore4.store.idstrategy;
package com.massivecraft.mcore5.store.idstrategy;
import java.util.UUID;
import com.massivecraft.mcore4.store.CollInterface;
import com.massivecraft.mcore5.store.CollInterface;
public class IdStrategyUuidMongoAndGson extends IdStrategyAbstract<UUID, String>
{

Some files were not shown because too many files have changed in this diff Show More