Compare commits

..

2 Commits

Author SHA1 Message Date
f8b11ccc32 'nother short hotfix 2022-06-24 10:18:25 +02:00
9240a6d6ba hotfix the descriptions 2022-06-24 10:17:19 +02:00

View File

@ -12,7 +12,7 @@ Hooks.on("init", async function() {
//This registers the settings //This registers the settings
game.settings.register('shortcutblocker', 'ctrlblock', { game.settings.register('shortcutblocker', 'ctrlblock', {
name: 'Blocked CTRL Combos', //Kinda obvious, eh? name: 'Blocked CTRL Combos', //Kinda obvious, eh?
hint: 'Comma sepparated list of keys, which are disallowed to be used with CTRL. Example: "F5, R, W" This would allow CTRL + F5, CTRL + R and CTRL + W.', // Some descriptive text. hint: 'Comma sepparated list of key names which get blocked. Example: "F5, R, W" This would block CTRL + F5, CTRL + R and CTRL + W.', // Some descriptive text.
scope: 'client', // "world" = sync to db, "client" = local storage scope: 'client', // "world" = sync to db, "client" = local storage
config: true, // false if you dont want it to show in module config config: true, // false if you dont want it to show in module config
type: String, // Number, Boolean, String, Object type: String, // Number, Boolean, String, Object
@ -25,7 +25,7 @@ Hooks.on("init", async function() {
//SPIEL DEN SELBEN SONG NOCHMAL! //SPIEL DEN SELBEN SONG NOCHMAL!
game.settings.register('shortcutblocker', 'altblock', { game.settings.register('shortcutblocker', 'altblock', {
name: 'Blocked ALT Combos', name: 'Blocked ALT Combos',
hint: 'Comma sepparated list of key names. Example: "F4". That would block "ALT + F4"', hint: 'Comma sepparated list of key names which get blocked. Example: "F4". That would block "ALT + F4"',
scope: 'client', scope: 'client',
config: true, config: true,
type: String, type: String,
@ -38,7 +38,7 @@ Hooks.on("init", async function() {
// There probably is a smoother way of doing this, but I cannot be bothered to google for that // There probably is a smoother way of doing this, but I cannot be bothered to google for that
game.settings.register('shortcutblocker', 'shiftblock', { game.settings.register('shortcutblocker', 'shiftblock', {
name: 'Blocked SHIFT Combos', name: 'Blocked SHIFT Combos',
hint: 'Comma sepparated list of keys, which are allowed to be used with SHIFT. Example: "F5, R, W" This would allow SHIFT + F5', hint: 'Comma sepparated list of key names which get blocked. Example: "F5, R, W" This would block SHIFT + F5',
scope: 'client', scope: 'client',
config: true, config: true,
type: String, type: String,