Compare commits

..

No commits in common. "f8b11ccc32c2763c263c668488792adb5b1cb064" and "712c5f21124c5341661520258c33400064011ebc" have entirely different histories.

View File

@ -12,7 +12,7 @@ Hooks.on("init", async function() {
//This registers the settings
game.settings.register('shortcutblocker', 'ctrlblock', {
name: 'Blocked CTRL Combos', //Kinda obvious, eh?
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.
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.
scope: 'client', // "world" = sync to db, "client" = local storage
config: true, // false if you dont want it to show in module config
type: String, // Number, Boolean, String, Object
@ -25,7 +25,7 @@ Hooks.on("init", async function() {
//SPIEL DEN SELBEN SONG NOCHMAL!
game.settings.register('shortcutblocker', 'altblock', {
name: 'Blocked ALT Combos',
hint: 'Comma sepparated list of key names which get blocked. Example: "F4". That would block "ALT + F4"',
hint: 'Comma sepparated list of key names. Example: "F4". That would block "ALT + F4"',
scope: 'client',
config: true,
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
game.settings.register('shortcutblocker', 'shiftblock', {
name: 'Blocked SHIFT Combos',
hint: 'Comma sepparated list of key names which get blocked. Example: "F5, R, W" This would block SHIFT + F5',
hint: 'Comma sepparated list of keys, which are allowed to be used with SHIFT. Example: "F5, R, W" This would allow SHIFT + F5',
scope: 'client',
config: true,
type: String,