Skip to content

Commit

Permalink
Replace no longer working command (as of 1.20.6) in default configura…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Grabsky committed Jun 9, 2024
1 parent 2ead568 commit fc26a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "chat_message",
// Optional audience to forward this message to. Can be either "player", "server" or "console". (DEFAULT = "player")
"audience": "player",
// Text to be displayed. Supports PlaceholderAPI and mutliple lines.
// Text to be displayed. Supports PlaceholderAPI and multiple lines.
"value": [
" Welcome, <gold>%player_name%<white> to the server.",
" ",
Expand Down Expand Up @@ -64,12 +64,12 @@
{
"type": "console_command",
// Command to be executed. Supports PlaceholderAPI.
"value": "minecraft:give %player_name% minecraft:iron_sword{Damage:177} 1"
"value": "minecraft:give %player_name% minecraft:iron_sword 1"
},
// Chat message element sends message to the player.
{
"type": "chat_message",
// Text to be displayed. Supports PlaceholderAPI and mutliple lines.
// Text to be displayed. Supports PlaceholderAPI and multiple lines.
"value": "<gold><italic>Stranger<gray> gave <gold>%player_name%<gray> an old, rusty <white>Iron Sword<gray>..."
}
]
Expand Down

0 comments on commit fc26a3f

Please sign in to comment.