Options for disabling specific custom community board functions.
This commit is contained in:
12
trunk/dist/game/config/Custom.properties
vendored
12
trunk/dist/game/config/Custom.properties
vendored
@@ -592,6 +592,18 @@ CustomCommunityBoard = True
|
||||
# Default: 57 (Adena)
|
||||
CommunityCurrencyId = 57
|
||||
|
||||
# Enable Multisells.
|
||||
# Default: True
|
||||
CommunityEnableMultisells = True
|
||||
|
||||
# Enable Teleports.
|
||||
# Default: True
|
||||
CommunityEnableTeleports = True
|
||||
|
||||
# Enable Buffs.
|
||||
# Default: True
|
||||
CommunityEnableBuffs = True
|
||||
|
||||
# Price for Teleports.
|
||||
# Default: 0 (free)
|
||||
CommunityTeleportPrice = 0
|
||||
|
@@ -80,7 +80,7 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
CommunityBoardHandler.separateAndSend(html, activeChar);
|
||||
}
|
||||
}
|
||||
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsmultisell"))
|
||||
else if (Config.CUSTOM_CB_ENABLED && Config.COMMUNITYBOARD_ENABLE_MULTISELLS && command.startsWith("_bbsmultisell"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbsmultisell;", "");
|
||||
final String[] buypassOptions = fullBypass.split(",");
|
||||
@@ -90,7 +90,7 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
final String html = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/Custom/" + page + ".html");
|
||||
CommunityBoardHandler.separateAndSend(html, activeChar);
|
||||
}
|
||||
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsteleport"))
|
||||
else if (Config.CUSTOM_CB_ENABLED && Config.COMMUNITYBOARD_ENABLE_TELEPORTS && command.startsWith("_bbsteleport"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbsteleport;", "");
|
||||
final String[] buypassOptions = fullBypass.split(",");
|
||||
@@ -108,7 +108,7 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
final String html = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/Custom/" + page + ".html");
|
||||
CommunityBoardHandler.separateAndSend(html, activeChar);
|
||||
}
|
||||
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsbuff"))
|
||||
else if (Config.CUSTOM_CB_ENABLED && Config.COMMUNITYBOARD_ENABLE_BUFFS && command.startsWith("_bbsbuff"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbsbuff;", "");
|
||||
final String[] buypassOptions = fullBypass.split(",");
|
||||
|
Reference in New Issue
Block a user