mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 09:15:38 +00:00
parent
00ac914066
commit
eddbcf515c
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Fri May 16 15:39:23 CEST 2014
|
#Mon May 19 14:15:10 CEST 2014
|
||||||
build.number=857
|
build.number=858
|
||||||
|
@ -15,6 +15,10 @@ server:
|
|||||||
# Every word in the MOTD will be a different color unless prefixed by a color code
|
# Every word in the MOTD will be a different color unless prefixed by a color code
|
||||||
colorful_motd: true
|
colorful_motd: true
|
||||||
|
|
||||||
|
# All players who show up as owner
|
||||||
|
owners:
|
||||||
|
- markbyron
|
||||||
|
|
||||||
# URL players should appeal for bans at
|
# URL players should appeal for bans at
|
||||||
ban_url: http://totalfreedom.boards.net/
|
ban_url: http://totalfreedom.boards.net/
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ public enum TFM_ConfigEntry
|
|||||||
SERVER_NAME(String.class, "server.name"),
|
SERVER_NAME(String.class, "server.name"),
|
||||||
SERVER_ADDRESS(String.class, "server.address"),
|
SERVER_ADDRESS(String.class, "server.address"),
|
||||||
SERVER_MOTD(String.class, "server.motd"),
|
SERVER_MOTD(String.class, "server.motd"),
|
||||||
|
SERVER_OWNERS(List.class, "server.owners"),
|
||||||
SERVER_BAN_URL(String.class, "server.ban_url"),
|
SERVER_BAN_URL(String.class, "server.ban_url"),
|
||||||
SERVER_PERMBAN_URL(String.class, "server.permban_url"),
|
SERVER_PERMBAN_URL(String.class, "server.permban_url"),
|
||||||
//
|
//
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package me.StevenLawson.TotalFreedomMod;
|
package me.StevenLawson.TotalFreedomMod;
|
||||||
|
|
||||||
|
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry;
|
||||||
import static me.StevenLawson.TotalFreedomMod.TFM_Util.DEVELOPERS;
|
import static me.StevenLawson.TotalFreedomMod.TFM_Util.DEVELOPERS;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
@ -76,7 +77,7 @@ public enum TFM_PlayerRank
|
|||||||
|
|
||||||
if (entry != null && entry.isActivated())
|
if (entry != null && entry.isActivated())
|
||||||
{
|
{
|
||||||
if (sender.getName().equals("markbyron"))
|
if (TFM_ConfigEntry.SERVER_OWNERS.getList().contains(sender.getName()))
|
||||||
{
|
{
|
||||||
return OWNER;
|
return OWNER;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user