Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's never too late to use proper package naming conventions #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<relocations>
<relocation>
<pattern>com.dumptruckman.minecraft.util.Logging</pattern>
<shadedPattern>com.onarandombox.MultiverseSignPortals.util.MVSPLogging
<shadedPattern>com.onarandombox.multiversesignportals.util.MVSPLogging
</shadedPattern>
</relocation>
<relocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals;
package com.onarandombox.multiversesignportals;

import com.dumptruckman.minecraft.util.Logging;
import com.onarandombox.MultiverseCore.MultiverseCore;
import com.onarandombox.MultiverseCore.api.MVPlugin;
import com.onarandombox.MultiverseSignPortals.listeners.MVSPBlockListener;
import com.onarandombox.MultiverseSignPortals.listeners.MVSPPlayerListener;
import com.onarandombox.MultiverseSignPortals.listeners.MVSPPluginListener;
import com.onarandombox.MultiverseSignPortals.listeners.MVSPVersionListener;
import com.onarandombox.MultiverseSignPortals.utils.PortalDetector;
import com.onarandombox.multiversesignportals.listeners.MVSPBlockListener;
import com.onarandombox.multiversesignportals.listeners.MVSPPlayerListener;
import com.onarandombox.multiversesignportals.listeners.MVSPPluginListener;
import com.onarandombox.multiversesignportals.listeners.MVSPVersionListener;
import com.onarandombox.multiversesignportals.utils.PortalDetector;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.enums;
package com.onarandombox.multiversesignportals.enums;

/**
* Multiverse 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.exceptions;
package com.onarandombox.multiversesignportals.exceptions;

public class MoreThanOneSignFoundException extends Exception {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.exceptions;
package com.onarandombox.multiversesignportals.exceptions;

public class NoMultiverseSignFoundException extends Exception {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.listeners;
package com.onarandombox.multiversesignportals.listeners;

import com.onarandombox.MultiverseCore.api.MVDestination;
import com.onarandombox.MultiverseCore.api.SafeTTeleporter;
import com.onarandombox.MultiverseCore.enums.TeleportResult;
import com.onarandombox.MultiverseCore.utils.MVPermissions;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.MultiverseSignPortals.utils.PortalDetector;
import com.onarandombox.MultiverseSignPortals.utils.SignStatus;
import com.onarandombox.MultiverseSignPortals.utils.SignTools;
import com.onarandombox.multiversesignportals.MultiverseSignPortals;
import com.onarandombox.multiversesignportals.utils.PortalDetector;
import com.onarandombox.multiversesignportals.utils.SignStatus;
import com.onarandombox.multiversesignportals.utils.SignTools;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.block.Block;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.listeners;
package com.onarandombox.multiversesignportals.listeners;

import com.onarandombox.MultiverseCore.api.MVDestination;
import com.onarandombox.MultiverseCore.destination.DestinationFactory;
import com.onarandombox.MultiverseCore.enums.TeleportResult;
import com.onarandombox.MultiverseCore.utils.MVPermissions;
import com.onarandombox.MultiverseCore.utils.MVTravelAgent;
import com.onarandombox.MultiverseCore.api.SafeTTeleporter;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.MultiverseSignPortals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.MultiverseSignPortals.exceptions.NoMultiverseSignFoundException;
import com.onarandombox.MultiverseSignPortals.utils.PortalDetector;
import com.onarandombox.MultiverseSignPortals.utils.SignStatus;
import com.onarandombox.multiversesignportals.MultiverseSignPortals;
import com.onarandombox.multiversesignportals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.multiversesignportals.exceptions.NoMultiverseSignFoundException;
import com.onarandombox.multiversesignportals.utils.PortalDetector;
import com.onarandombox.multiversesignportals.utils.SignStatus;
import org.bukkit.ChatColor;
import org.bukkit.block.Sign;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.listeners;
package com.onarandombox.multiversesignportals.listeners;

import com.onarandombox.MultiverseCore.MultiverseCore;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.multiversesignportals.MultiverseSignPortals;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.server.PluginEnableEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.listeners;
package com.onarandombox.multiversesignportals.listeners;

import com.onarandombox.MultiverseCore.api.MVDestination;
import com.onarandombox.MultiverseCore.event.MVPlayerTouchedPortalEvent;
import com.onarandombox.MultiverseCore.event.MVVersionEvent;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.MultiverseSignPortals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.MultiverseSignPortals.exceptions.NoMultiverseSignFoundException;
import com.onarandombox.MultiverseSignPortals.utils.PortalDetector;
import com.onarandombox.multiversesignportals.MultiverseSignPortals;
import com.onarandombox.multiversesignportals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.multiversesignportals.exceptions.NoMultiverseSignFoundException;
import com.onarandombox.multiversesignportals.utils.PortalDetector;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.utils;
package com.onarandombox.multiversesignportals.utils;

import com.onarandombox.MultiverseCore.api.MVDestination;
import com.onarandombox.MultiverseCore.destination.InvalidDestination;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.MultiverseSignPortals.enums.Axis;
import com.onarandombox.MultiverseSignPortals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.MultiverseSignPortals.exceptions.NoMultiverseSignFoundException;
import com.onarandombox.multiversesignportals.MultiverseSignPortals;
import com.onarandombox.multiversesignportals.enums.Axis;
import com.onarandombox.multiversesignportals.exceptions.MoreThanOneSignFoundException;
import com.onarandombox.multiversesignportals.exceptions.NoMultiverseSignFoundException;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.utils;
package com.onarandombox.multiversesignportals.utils;

public class PortalLocation {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.utils;
package com.onarandombox.multiversesignportals.utils;

public enum SignStatus {
NetherPortalSign, SignPortal, Disabled, Legacy, NotASignPortal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* with this project.
*/

package com.onarandombox.MultiverseSignPortals.utils;
package com.onarandombox.multiversesignportals.utils;

import org.bukkit.ChatColor;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Multiverse-SignPortals
main: com.onarandombox.MultiverseSignPortals.MultiverseSignPortals
main: com.onarandombox.multiversesignportals.MultiverseSignPortals
authors: ['Rigby','fernferret']
version: maven-version-number
depend: ['Multiverse-Core']