Skip to content

Commit

Permalink
changed package to digital.murl
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Mar 24, 2021
1 parent 670314d commit 7b702b2
Show file tree
Hide file tree
Showing 233 changed files with 585 additions and 551 deletions.
2 changes: 1 addition & 1 deletion .idea/aurora.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pluginGroup=fyi.sorenneedscoffee
pluginGroup=digital.murl
pluginVersion=1.1.4
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
package fyi.sorenneedscoffee.aurora;
package digital.murl.aurora;

import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.*;
import com.sun.net.httpserver.HttpServer;
import fyi.sorenneedscoffee.aurora.annotations.StaticAction;
import fyi.sorenneedscoffee.aurora.annotations.StaticEffect;
import fyi.sorenneedscoffee.aurora.annotations.StaticModel;
import fyi.sorenneedscoffee.aurora.commands.EffectCmd;
import fyi.sorenneedscoffee.aurora.commands.PointCmd;
import fyi.sorenneedscoffee.aurora.http.Endpoint;
import fyi.sorenneedscoffee.aurora.http.RestHandler;
import fyi.sorenneedscoffee.aurora.managers.EffectManager;
import fyi.sorenneedscoffee.aurora.points.DataContext;
import fyi.sorenneedscoffee.aurora.points.PointUtil;
import digital.murl.aurora.annotations.StaticAction;
import digital.murl.aurora.annotations.StaticEffect;
import digital.murl.aurora.annotations.StaticModel;
import digital.murl.aurora.commands.EffectCmd;
import digital.murl.aurora.commands.PointCmd;
import digital.murl.aurora.http.Endpoint;
import digital.murl.aurora.http.RestHandler;
import digital.murl.aurora.managers.EffectManager;
import digital.murl.aurora.points.DataContext;
import digital.murl.aurora.points.PointUtil;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.java.JavaPlugin;
import org.reflections.Reflections;
import org.reflections.scanners.MethodAnnotationsScanner;
import org.reflections.scanners.SubTypesScanner;
import org.reflections.scanners.TypeAnnotationsScanner;

import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
Expand All @@ -33,14 +37,6 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Logger;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.java.JavaPlugin;
import org.reflections.Reflections;
import org.reflections.scanners.MethodAnnotationsScanner;
import org.reflections.scanners.SubTypesScanner;
import org.reflections.scanners.TypeAnnotationsScanner;

public final class Aurora extends JavaPlugin {

Expand Down Expand Up @@ -75,7 +71,7 @@ public void onEnable() {
dataContext = new DataContext(plugin);
pointUtil = new PointUtil().load();

Reflections reflections = new Reflections("fyi.sorenneedscoffee.aurora.http",
Reflections reflections = new Reflections("digital.murl.aurora.http",
new TypeAnnotationsScanner(),
new MethodAnnotationsScanner(),
new SubTypesScanner()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fyi.sorenneedscoffee.aurora.annotations;
package digital.murl.aurora.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fyi.sorenneedscoffee.aurora.annotations;
package digital.murl.aurora.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fyi.sorenneedscoffee.aurora.annotations;
package digital.murl.aurora.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fyi.sorenneedscoffee.aurora.commands;
package digital.murl.aurora.commands;

import fyi.sorenneedscoffee.aurora.managers.EffectManager;
import digital.murl.aurora.managers.EffectManager;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package fyi.sorenneedscoffee.aurora.commands;
package digital.murl.aurora.commands;

import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.points.Point;
import java.util.Arrays;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.points.Point;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.command.Command;
Expand All @@ -11,6 +10,8 @@
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;

import java.util.Arrays;

public class PointCmd implements CommandExecutor {

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fyi.sorenneedscoffee.aurora.effects;
package digital.murl.aurora.effects;

public enum CacheBehavior {
DEFAULT, PERSIST, DISABLED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fyi.sorenneedscoffee.aurora.effects;
package digital.murl.aurora.effects;

import fyi.sorenneedscoffee.aurora.Aurora;
import digital.murl.aurora.Aurora;
import org.bukkit.Bukkit;
import org.bukkit.plugin.IllegalPluginAccessException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fyi.sorenneedscoffee.aurora.effects;
package digital.murl.aurora.effects;

public enum EffectAction {
START, STOP, RESTART, TRIGGER
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package fyi.sorenneedscoffee.aurora.effects;
package digital.murl.aurora.effects;

import com.google.common.base.Objects;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
package fyi.sorenneedscoffee.aurora.effects.bossbar;

import static org.bukkit.Bukkit.getServer;
package digital.murl.aurora.effects.bossbar;

import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.ListenerPriority;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketEvent;
import com.comphenix.protocol.wrappers.WrappedChatComponent;
import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.effects.Effect;
import fyi.sorenneedscoffee.aurora.effects.EffectAction;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerBoss;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.effects.Effect;
import digital.murl.aurora.effects.EffectAction;
import digital.murl.aurora.wrapper.WrapperPlayServerBoss;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.boss.BarColor;
Expand All @@ -24,6 +18,13 @@
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import static org.bukkit.Bukkit.getServer;

public class BossBarEffect extends Effect {

private final BossBarListener bossBarListener = new BossBarListener(Aurora.plugin, this);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
package fyi.sorenneedscoffee.aurora.effects.dragon;

import static org.bukkit.Bukkit.getServer;
package digital.murl.aurora.effects.dragon;

import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.ListenerPriority;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketEvent;
import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.effects.Effect;
import fyi.sorenneedscoffee.aurora.effects.EffectAction;
import fyi.sorenneedscoffee.aurora.points.Point;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityStatus;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerNamedSoundEffect;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.effects.Effect;
import digital.murl.aurora.effects.EffectAction;
import digital.murl.aurora.points.Point;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityStatus;
import digital.murl.aurora.wrapper.WrapperPlayServerNamedSoundEffect;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.Location;
Expand All @@ -28,6 +22,13 @@
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import static org.bukkit.Bukkit.getServer;

public class DragonEffect extends Effect {

protected static boolean active = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import fyi.sorenneedscoffee.aurora.effects.Effect;
import fyi.sorenneedscoffee.aurora.effects.EffectAction;
import digital.murl.aurora.effects.Effect;
import digital.murl.aurora.effects.EffectAction;
import org.bukkit.Location;
import org.bukkit.entity.EnderCrystal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.ListenerPriority;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketEvent;
import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.effects.Effect;
import fyi.sorenneedscoffee.aurora.effects.EffectAction;
import fyi.sorenneedscoffee.aurora.points.Point;
import java.util.ArrayList;
import java.util.List;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.effects.Effect;
import digital.murl.aurora.effects.EffectAction;
import digital.murl.aurora.points.Point;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.entity.ArmorStand;
Expand All @@ -20,6 +18,9 @@
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.plugin.Plugin;

import java.util.ArrayList;
import java.util.List;

public class LaserEffect extends Effect {

private final Point start, end;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import com.comphenix.protocol.wrappers.WrappedDataWatcher;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityDestroy;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityMetadata;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityDestroy;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityMetadata;
import digital.murl.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import net.minecraft.server.v1_16_R3.EntityGuardian;
import net.minecraft.server.v1_16_R3.EntitySquid;
import net.minecraft.server.v1_16_R3.EntityTypes;
Expand Down Expand Up @@ -65,7 +65,7 @@ public static WrapperPlayServerEntityDestroy createDestroyPacket(int[] ids) {
}

public static WrapperPlayServerEntityMetadata createInvisibilityPacket(int eId,
Entity fakeEntity) {
Entity fakeEntity) {
WrappedDataWatcher watcher = WrappedDataWatcher.getEntityWatcher(fakeEntity);
watcher.setObject(0, (byte) 32);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityDestroy;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityMetadata;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityDestroy;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityMetadata;
import digital.murl.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityDestroy;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerEntityMetadata;
import fyi.sorenneedscoffee.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityDestroy;
import digital.murl.aurora.wrapper.WrapperPlayServerEntityMetadata;
import digital.murl.aurora.wrapper.WrapperPlayServerSpawnEntityLiving;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;

public class ProtocolTargetedLaser {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package fyi.sorenneedscoffee.aurora.effects.laser;
package digital.murl.aurora.effects.laser;

import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.ListenerPriority;
import com.comphenix.protocol.events.PacketAdapter;
import com.comphenix.protocol.events.PacketEvent;
import fyi.sorenneedscoffee.aurora.Aurora;
import fyi.sorenneedscoffee.aurora.effects.Effect;
import fyi.sorenneedscoffee.aurora.effects.EffectAction;
import fyi.sorenneedscoffee.aurora.points.Point;
import java.util.ArrayList;
import java.util.List;
import digital.murl.aurora.Aurora;
import digital.murl.aurora.effects.Effect;
import digital.murl.aurora.effects.EffectAction;
import digital.murl.aurora.points.Point;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
Expand All @@ -19,6 +17,9 @@
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.plugin.Plugin;

import java.util.ArrayList;
import java.util.List;

public class TargetedLaserEffect extends Effect {

private final Point start;
Expand Down
Loading

0 comments on commit 7b702b2

Please sign in to comment.