diff options
author | snowleo <schneeleo@gmail.com> | 2012-03-14 03:01:23 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-03-14 03:01:23 +0100 |
commit | 1bfe63da96ca91a736da95a6a82fc2ef747e3228 (patch) | |
tree | 1615d012a5e878e9bf1446cbb70e5ec953ea67f3 /EssentialsChat/src | |
parent | b5710769155677daf8b03d72387c038a876d9998 (diff) | |
download | Essentials-1bfe63da96ca91a736da95a6a82fc2ef747e3228.tar Essentials-1bfe63da96ca91a736da95a6a82fc2ef747e3228.tar.gz Essentials-1bfe63da96ca91a736da95a6a82fc2ef747e3228.tar.lz Essentials-1bfe63da96ca91a736da95a6a82fc2ef747e3228.tar.xz Essentials-1bfe63da96ca91a736da95a6a82fc2ef747e3228.zip |
Splitting permissions and ranks (renamed from groups)
Deleted all old permissions handlers, since we fully use superperms now
Diffstat (limited to 'EssentialsChat/src')
3 files changed, 6 insertions, 6 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/ChatPermissions.java b/EssentialsChat/src/com/earth2me/essentials/chat/ChatPermissions.java index 5b98002c5..9a8bd9e88 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/ChatPermissions.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/ChatPermissions.java @@ -1,7 +1,7 @@ package com.earth2me.essentials.chat; import com.earth2me.essentials.api.IPermission; -import com.earth2me.essentials.perm.BasePermission; +import com.earth2me.essentials.permissions.BasePermission; import java.util.HashMap; import java.util.Locale; import java.util.Map; diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java index c1f423e58..c2501f898 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java @@ -5,10 +5,10 @@ import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.Trade; import com.earth2me.essentials.Util; import com.earth2me.essentials.api.IEssentials; -import com.earth2me.essentials.api.IGroups; +import com.earth2me.essentials.api.IRanks; import com.earth2me.essentials.api.ISettings; import com.earth2me.essentials.api.IUser; -import com.earth2me.essentials.perm.Permissions; +import com.earth2me.essentials.permissions.Permissions; import java.util.Locale; import java.util.Map; import java.util.logging.Logger; @@ -82,10 +82,10 @@ public abstract class EssentialsChatPlayer implements Listener { event.setMessage(Util.stripColor(event.getMessage())); } - String group = ess.getGroups().getMainGroup(user); + String group = ess.getRanks().getMainGroup(user); String world = user.getWorld().getName(); - IGroups groupSettings = ess.getGroups(); + IRanks groupSettings = ess.getRanks(); event.setFormat(groupSettings.getChatFormat(user).format(new Object[] { group, world, world.substring(0, 1).toUpperCase(Locale.ENGLISH) diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsLocalChatEventListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsLocalChatEventListener.java index 1eb589ff1..401fa1142 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsLocalChatEventListener.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsLocalChatEventListener.java @@ -3,7 +3,7 @@ package com.earth2me.essentials.chat; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.api.IEssentials; import com.earth2me.essentials.api.IUser; -import com.earth2me.essentials.perm.Permissions; +import com.earth2me.essentials.permissions.Permissions; import java.util.logging.Logger; import org.bukkit.Location; import org.bukkit.Server; |