geforkt von Mirrors/FastAsyncWorldEdit
Update the tips to reflect 1.13 changes
Dieser Commit ist enthalten in:
Ursprung
19125bee5f
Commit
15d0d16da6
@ -302,6 +302,7 @@ public enum BBC {
|
|||||||
TIP_SELECT_CONNECTED("Tip: Select all connected blocks with //sel fuzzy", "Tips"),
|
TIP_SELECT_CONNECTED("Tip: Select all connected blocks with //sel fuzzy", "Tips"),
|
||||||
TIP_SET_POS1("Tip: Use pos1 as a pattern with &c//set pos1", "Tips"),
|
TIP_SET_POS1("Tip: Use pos1 as a pattern with &c//set pos1", "Tips"),
|
||||||
TIP_FARWAND("Tip: Select distant points with &c//farwand", "Tips"),
|
TIP_FARWAND("Tip: Select distant points with &c//farwand", "Tips"),
|
||||||
|
TIP_DISCORD("Need help using FAWE? https://discord.gg/ngZCzbU", "Tips"),
|
||||||
|
|
||||||
// cut
|
// cut
|
||||||
TIP_LAZYCUT("&7Tip: It is safer to use &c//lazycut", "Tips"),
|
TIP_LAZYCUT("&7Tip: It is safer to use &c//lazycut", "Tips"),
|
||||||
@ -315,6 +316,12 @@ public enum BBC {
|
|||||||
TIP_SET_HAND("&7Tip: Use your current hand with &c//set hand", "Tips"),
|
TIP_SET_HAND("&7Tip: Use your current hand with &c//set hand", "Tips"),
|
||||||
|
|
||||||
// replace
|
// replace
|
||||||
|
TIP_REPLACE_REGEX("&7Tip: Replace using regex:&c //replace .*_log <pattern>", "Tips"),
|
||||||
|
TIP_REPLACE_REGEX_2("&7Tip: Replace using regex:&c //replace .*stairs[facing=(north|south)] <pattern>", "Tips"),
|
||||||
|
TIP_REPLACE_REGEX_3("&7Tip: Replace using operators:&c //replace water[level>2] sand", "Tips"),
|
||||||
|
TIP_REPLACE_REGEX_4("&7Tip: Replace using operators:&c //replace true *[waterlogged=false]", "Tips"),
|
||||||
|
TIP_REPLACE_REGEX_5("&7Tip: Replace using operators:&c //replace true *[level-=1]", "Tips"),
|
||||||
|
|
||||||
TIP_REPLACE_ID("&7Tip: Replace only the block id:&c //replace woodenstair #id[cobblestair]", "Tips"),
|
TIP_REPLACE_ID("&7Tip: Replace only the block id:&c //replace woodenstair #id[cobblestair]", "Tips"),
|
||||||
TIP_REPLACE_LIGHT("Tip: Remove light sources with&c //replace #brightness[1][15] 0", "Tips"),
|
TIP_REPLACE_LIGHT("Tip: Remove light sources with&c //replace #brightness[1][15] 0", "Tips"),
|
||||||
TIP_TAB_COMPLETE("Tip: The replace command supports tab completion", "Tips"),
|
TIP_TAB_COMPLETE("Tip: The replace command supports tab completion", "Tips"),
|
||||||
|
@ -310,7 +310,7 @@ public class RegionCommands extends MethodCommands {
|
|||||||
int affected = editSession.replaceBlocks(region, from, to);
|
int affected = editSession.replaceBlocks(region, from, to);
|
||||||
BBC.VISITOR_BLOCK.send(player, affected);
|
BBC.VISITOR_BLOCK.send(player, affected);
|
||||||
if (!player.hasPermission("fawe.tips"))
|
if (!player.hasPermission("fawe.tips"))
|
||||||
BBC.TIP_REPLACE_ID.or(BBC.TIP_REPLACE_LIGHT, BBC.TIP_REPLACE_MARKER, BBC.TIP_TAB_COMPLETE).send(player);
|
BBC.TIP_REPLACE_ID.or(BBC.TIP_REPLACE_LIGHT, BBC.TIP_REPLACE_MARKER, BBC.TIP_TAB_COMPLETE, BBC.TIP_REPLACE_REGEX, BBC.TIP_REPLACE_REGEX_2, BBC.TIP_REPLACE_REGEX_3, BBC.TIP_REPLACE_REGEX_4, BBC.TIP_REPLACE_REGEX_5).send(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compatibility for SKCompat
|
// Compatibility for SKCompat
|
||||||
|
@ -289,7 +289,7 @@ public class SelectionCommands {
|
|||||||
player.giveItem(new BaseItemStack(we.getConfiguration().wandItem, 1));
|
player.giveItem(new BaseItemStack(we.getConfiguration().wandItem, 1));
|
||||||
BBC.SELECTION_WAND.send(player);
|
BBC.SELECTION_WAND.send(player);
|
||||||
if (!FawePlayer.wrap(player).hasPermission("fawe.tips"))
|
if (!FawePlayer.wrap(player).hasPermission("fawe.tips"))
|
||||||
BBC.TIP_SEL_LIST.or(BBC.TIP_SELECT_CONNECTED, BBC.TIP_SET_POS1, BBC.TIP_FARWAND).send(player);
|
BBC.TIP_SEL_LIST.or(BBC.TIP_SELECT_CONNECTED, BBC.TIP_SET_POS1, BBC.TIP_FARWAND, BBC.TIP_DISCORD).send(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren