Escape HTML in dynmap description setting

Fixed editing descriptions not properly checking for illegal characters
This commit is contained in:
William278 committed 2020-12-16 01:29:43 +00:00
1 parent 7fef9ea0f1
commit f1a1df6858
10 files changed
+44 -22

No files matched your search

+2 -2
View File
@@ -39,9 +39,9 @@ home_list_page_empty: '§7(There are no homes to list on this page)'
warp_list_page_top: '§aWarps: (§l%1%-%2%§r§a of §l%3%§r§a)'
warp_list_page_empty: '§7(There are no warps to list on this page)'
error_public_home_invalid: '§4Error: §cCould not find a public home owned by %1% called %2%.'
error_set_home_invalid_characters: '§4Error: §cHome names must be alphanumeric (A-Z, 0-9)'
error_set_home_invalid_characters: '§4Error: §cHome names must be alphanumeric (A-Z, 0-9, -_)'
error_set_home_invalid_length: '§4Error: §cHome names can only contain up to 16 characters!'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9)'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9, -_)'
error_set_warp_invalid_length: '§4Error: §cWarp names can only contain up to 16 characters!'
error_set_home_maximum_homes: '§4Error: §cYou can only set a maximum of %1% homes!'
error_insufficient_funds: '§4Error: §cYou do not have enough money! (Cost: %1%)'
+2 -2
View File
@@ -34,7 +34,7 @@ private_home_list_page_top: '§a%1%''的家: (§l%2% - %3%§r§a of §l%4%§r§a
public_home_list_page_top: '§a公開的家: (§l%1% - %2%§r§a of §l%3%§r§a)'
home_list_page_empty: '§7(這裏並沒有任何的家)'
error_public_home_invalid: '§4錯誤: §c找不到屬於%1%且名爲%2%的家'
error_set_home_invalid_characters: '§4錯誤: §c家的名字(A-Z,0-9)'
error_set_home_invalid_characters: '§4錯誤: §c家的名字(A-Z, 0-9, _-)'
error_set_home_invalid_length: '§4錯誤: §c家的名字最長只能16位!'
error_set_home_maximum_homes: '§4錯誤: §c你只能設置%1%個家!'
error_insufficient_funds: '§4錯誤: §c你沒有足夠的錢設置家! (價錢: %1%)'
@@ -67,7 +67,7 @@ set_warp_success: '§aSuccessfully set a new warp called §l%1%'
error_set_warp_name_taken: '§4Error: §cThere is already a warp set with that name.'
warp_deleted: '§aSuccessfully deleted §l%1%§r§a warp.'
error_warp_invalid: '§4Error: §cThere is no warp set with the name %1%'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9)'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z, 0-9, -_)'
error_set_warp_invalid_length: '§4Error: §cWarp names can only contain up to 16 characters!'
error_no_warps_set: '§4Error: §cThere aren''t any warps set!'
edit_warp_title: '§aEdit details for the warp §l%1%§r§a:'
+2 -2
View File
@@ -33,7 +33,7 @@ random_teleport_command:
enabled: true
range: 25000
dynmap_integration:
enabled: true
enabled: false
markers:
public_homes:
show: true
@@ -44,7 +44,7 @@ dynmap_integration:
set_name: 'Warps'
icon_id: 'sign'
economy_integration:
enabled: true
enabled: false
free_home_slots: 5
costs:
additional_home_slot: 100