Skip to content

Commit

Permalink
Added help and console messages
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeems committed Jun 11, 2021
1 parent 6fd82cf commit 196b8e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/04-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"Use 'unmark' to remove the mark on current position.\nUse 'unmark <num>' to remove a mark from the array at index <num>.\nUse 'unmark all' te remove all marks.\nTip: you can also remove a mark by breaking the mark while standing on top of its position."],
["clearmarks",
"The same usuage as 'unmark all'."],
["autoclearmarks",
"Toggle between auto clearing the marks after building. Defaults to 'false'."],
["Wooden Axe & Diamond Axe",
"To place a mark or an editMark respectively with the use-key.",
"EditMarks are especially usefull if you need to alter excisisting blocks or need to copy/paste a wall or building."],
Expand Down Expand Up @@ -256,9 +258,11 @@ player.onChatCommandCore("showmarks", function(){
player.onChatCommandCore("autoclearmarks", function(){
if (Data.bAutoClearMarks) {
Data.bAutoClearMarks = false;
console.print(`Autoclearmarks after building is set to: ${console.colorize('false')}`);
}
else {
Data.bAutoClearMarks = true;
console.print(`Autoclearmarks after building is set to: ${console.colorize('true')}`)
}
})

Expand Down

0 comments on commit 196b8e7

Please sign in to comment.