Skip to content

Commit

Permalink
meta cleanup
Browse files Browse the repository at this point in the history
remove a bad language link and swap names of people for generic names
  • Loading branch information
mcmonkey4eva committed Nov 6, 2019
1 parent 48fe584 commit 3a61dda
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 37 deletions.
Expand Up @@ -167,7 +167,7 @@ public static void registerTags() {
// @group properties
// @mechanism InventoryTag.holder
// @description
// Returns Denizen's holder ID for this inventory. (p@aufdemrand, l@123,321,123, etc.)
// Returns Denizen's holder ID for this inventory. (p@joe, l@123,321,123,world, etc.)
// -->
PropertyParser.<InventoryTag>registerTag("id_holder", (attribute, object) -> {
ObjectTag holder = getFrom(object).holder;
Expand Down
Expand Up @@ -39,8 +39,6 @@ public class FlagCommand extends AbstractCommand implements Listener {
// Decrease a flag by 2:
// - flag player counter:-:2
//
// See <@link language flags> for more info.
//
// All the flag values are stored by default in "plugins/denizen/saves.yml" file.
// For an alternative way of storing values, use either yaml (See <@link command yaml>)
// or sql (See <@link command sql>)
Expand Down Expand Up @@ -77,19 +75,19 @@ public class FlagCommand extends AbstractCommand implements Listener {
//
// @Usage
// Use to add an item to a server flag as a new value without removing existing values.
// - flag server cool_people:->:p@TheBlackCoyote
// - flag server cool_people:->:p@stephen
//
// @Usage
// Use to add both multiple items as individual new values to a server flag.
// - flag server cool_people:|:p@mcmonkey4eva|p@morphan1
// - flag server cool_people:|:p@bob|p@steve
//
// @Usage
// Use to remove an entry from a server flag.
// - flag server cool_people:<-:p@morphan1
// - flag server cool_people:<-:p@steve
//
// @Usage
// Use to clear a flag and fill it with a new list of values.
// - flag server cool_people:!|:p@mcmonkey4eva|p@morphan1|p@xenmai
// - flag server cool_people:!|:p@bob|p@steve|p@joe
//
// @Usage
// Use to completely remove a flag.
Expand Down
Expand Up @@ -52,7 +52,7 @@ public class AnimateCommand extends AbstractCommand {
//
// @Usage
// Use to make a wolf NPC shake
// - animate '<n@aufdemrand's wolf>' animation:wolf_shake
// - animate <npc> animation:wolf_shake
// -->

@Override
Expand Down
Expand Up @@ -40,8 +40,8 @@ public class HealCommand extends AbstractCommand {
// - heal 10
//
// @Usage
// Use to heal a player by the name of Morphan1 fully.
// - heal p@Morphan1
// Use to heal a player by the name of steve fully.
// - heal p@steve
// -->

@Override
Expand Down
Expand Up @@ -46,7 +46,7 @@ public class FakeItemCommand extends AbstractCommand {
//
// @Usage
// Use to show a fake book in the player's hand for 1 tick.
// - fakeitem "written_book[book=author|Morphan1|title|My Book|pages|This is my book!]" slot:<player.item_in_hand.slot> duration:1t
// - fakeitem "written_book[book=author|Bob|title|My Book|pages|This is my book!]" slot:<player.item_in_hand.slot> duration:1t
// -->

@Override
Expand Down
Expand Up @@ -99,7 +99,7 @@ public class InventoryCommand extends AbstractCommand {
//
// @Usage
// Use to swap two players' inventories.
// - inventory swap d:in@player[holder=p@mcmonkey4eva] o:<p@fullwall.inventory>
// - inventory swap d:in@player[holder=p@bob] o:<p@joe.inventory>
//
// @Usage
// Use to adjust a specific item in the player's inventory.
Expand Down
Expand Up @@ -42,11 +42,11 @@ public class ActionBarCommand extends AbstractCommand {
//
// @Usage
// Use to send a message to a list of players.
// - actionbar "Hey, welcome to the server!" targets:p@Fortifier42|p@mcmonkey4eva|p@Morphan1
// - actionbar "Hey, welcome to the server!" targets:p@john|p@bob|p@steve
//
// @Usage
// Use to send a message to a list of players, with a formatted message.
// - actionbar "Hey there!" targets:p@Fortifier42|p@mcmonkey4eva format:ServerChat
// - actionbar "Hey there!" targets:p@john|p@bob format:ServerChat
// -->

@Override
Expand Down
Expand Up @@ -42,7 +42,7 @@ public class ChatCommand extends AbstractCommand {
// </code>
// The player being chatted to, by default the attached Player to the script queue, will see a message
// 'Jack says to you, Hello!', however surrounding entities will see something along the lines of
// 'Jack says to aufdemrand, Hello!'. The format for this is configurable.
// 'Jack says to Bob, Hello!'. The format for this is configurable.
//
// If sending messages to the Player without any surrounding entities hearing the message is desirable,
// it is often times recommended to instead use the 'narrate' command. Alternatively, on a server-wide scale,
Expand Down
Expand Up @@ -45,8 +45,8 @@ public class ExperienceCommand extends AbstractCommand {
//
// - experience take level 1
// @Usage
// Use to give a player with the name Morphan1 10 experience points.
// - experience give 10 player:p@Morphan1
// Use to give a player with the name steve 10 experience points.
// - experience give 10 player:p@steve
// -->

private enum Type {SET, GIVE, TAKE}
Expand Down
Expand Up @@ -38,7 +38,7 @@ public class KickCommand extends AbstractCommand {
//
// @Usage
// Use to kick another player with a reason.
// - kick p@mcmonkey4eva "reason:Because I can."
// - kick p@bob "reason:Because I can."
// -->

@Override
Expand Down
Expand Up @@ -41,7 +41,7 @@ public class MoneyCommand extends AbstractCommand {
//
// @Usage
// Use to take 10 money from a player.
// - money take quantity:10 from:p@mcmonkey4eva
// - money take quantity:10 from:p@bob
//
// @Usage
// Use to give all players on the server 100 money.
Expand Down
Expand Up @@ -42,7 +42,7 @@ public class NarrateCommand extends AbstractCommand {
//
// @Usage
// Use to narrate text to a list of players.
// - narrate "Hello there." targets:p@mcmonkey4eva|p@Morphan1|p@Fortifier42
// - narrate "Hello there." targets:p@bob|p@steve|p@john
// -->

@Override
Expand Down
Expand Up @@ -70,7 +70,7 @@ public class SidebarCommand extends AbstractCommand {
//
// @Usage
// Show a few players their ping.
// - sidebar set "title:Info" "value:Ping<&co> <player.ping>" "players:p@Morphan1|p@mcmonkey4eva|p@Matterom" per_player
// - sidebar set "title:Info" "value:Ping<&co> <player.ping>" "players:p@steve|p@bob|p@joe" per_player
//
// @Usage
// Set a sidebar with the score values indicating information to the user.
Expand Down
Expand Up @@ -48,19 +48,19 @@ public class BanCommand extends AbstractCommand {
//
// @Usage
// Use to ban a player.
// - ban p@mcmonkey4eva
// - ban p@bob
//
// @Usage
// Use to ban a list of players with a reason.
// - ban p@mcmonkey4eva|p@Morphan1 "reason:Didn't grow enough potatoes."
// - ban p@bob|p@steve "reason:Didn't grow enough potatoes."
//
// @Usage
// Use to ban a list of players for 10 minutes with a reason.
// - ban p@mcmonkey4eva|p@Morphan1 "reason:Didn't grow enough potatoes." duration:10m
// - ban p@bob|p@steve "reason:Didn't grow enough potatoes." duration:10m
//
// @Usage
// Use to ban a player with a source.
// - ban p@Mergu "reason:Grew too many potatoes." source:<player.name>
// - ban p@jie "reason:Grew too many potatoes." source:<player.name>
//
// @Usage
// Use to ban an ip address.
Expand All @@ -72,7 +72,7 @@ public class BanCommand extends AbstractCommand {
//
// @Usage
// Use to unban a list of players.
// - ban remove p@mcmonkey4eva|p@Morphan1
// - ban remove p@bob|p@steve
//
// @Usage
// Use to unban an ip address.
Expand Down
Expand Up @@ -58,7 +58,7 @@ public class BossBarCommand extends AbstractCommand {
//
// @Usage
// Remove a player from the boss bar.
// - bossbar remove MyMessageID players:<server.match_player[BlackCoyote]>
// - bossbar remove MyMessageID players:<server.match_player[joe]>
//
// @Usage
// Delete the boss bar.
Expand Down
Expand Up @@ -64,16 +64,16 @@ public class ScoreboardCommand extends AbstractCommand {
// <server.scoreboard[(<board>)].team[<team>].members>
//
// @Usage
// Add a score for the player "mythan" to the default scoreboard under the objective "cookies" and let him see it
// - scoreboard add obj:cookies lines:mythan score:1000 viewers:p@mythan
// Add a score for the player "joe" to the default scoreboard under the objective "cookies" and let him see it
// - scoreboard add obj:cookies lines:joe score:1000 viewers:p@joe
//
// @Usage
// Add a new current objective called "food" to the "test" scoreboard with 3 lines that each have a score of 50:
// - scoreboard add id:test obj:food lines:Cookies|Donuts|Cake score:50
//
// @Usage
// Make a list of players see the scoreboard that has the id "test":
// - scoreboard add viewers:p@Goma|p@mythan|p@Ares513 id:test
// - scoreboard add viewers:p@bob|p@joe|p@john id:test
//
// @Usage
// Change the value of one of the scores in the "food" objective:
Expand All @@ -85,11 +85,11 @@ public class ScoreboardCommand extends AbstractCommand {
//
// @Usage
// Remove one of the viewers of the "test" scoreboard:
// - scoreboard remove viewers:p@mythan
// - scoreboard remove viewers:p@joe
//
// @Usage
// Make the player "dimensionZ" see the health of other players below their names
// - scoreboard add viewers:p@dimensionZ id:test obj:anything criteria:health displayslot:below_name
// Make the player "bob" see the health of other players below their names
// - scoreboard add viewers:p@bob id:test obj:anything criteria:health displayslot:below_name
//
// @Usage
// Make all the players on the world "survival" see each other's number of entity kills in the player list when pressing Tab
Expand Down
Expand Up @@ -55,11 +55,11 @@ public class AnimateChestCommand extends AbstractCommand {
//
// @Usage
// Use to animate a chest opening that only a single specific player will see.
// - animatechest l@12,12,-64,space sound:false p@Morphan1
// - animatechest l@12,12,-64,space sound:false p@steve
//
// @Usage
// Use to animate a chest opening that only a list of specific players will see.
// - animatechest l@12,12,-64,space sound:false p@Morphan1|p@mcmonkey4eva|p@Fortifier42
// - animatechest l@12,12,-64,space sound:false p@steve|p@bob|p@john
// -->

enum ChestAction {OPEN, CLOSE}
Expand Down
Expand Up @@ -57,8 +57,8 @@ public boolean onCommand(CommandSender sender, Command cmd, String cmdName, Stri
// value arguments, or utilize the object fetcher.
//
// Examples:
// /ex narrate player:p@NLBlackEagle 'Your health is <player.health.formatted>.'
// /ex walk npc:n@fred <player.location.cursor_on>
// /ex narrate player:p@Joe 'Your health is <player.health.formatted>.'
// /ex walk npc:n@5 <player.location.cursor_on>
//
// -->

Expand Down

0 comments on commit 3a61dda

Please sign in to comment.