GhiaccioScripts

Weapon Editor

Troubleshooting

Common problems with the Weapon Editor.

#HOT values (clip size, fire rate...) do not change

HOT values apply on the next join (reconnect) or restart, not live. Also check:

  1. add_filesystem_permission ghiaccio_weaponeditor write ghiaccio_weaponeditor_patch is in server.cfg.
  2. ensure ghiaccio_weaponeditor_patch comes after every other resource with weapon metas.
  3. /wepeditor_selftest reports PASS for S6 (SaveResourceFile). If it prints a permission line, add it.

#The editor does not open / no permission

  • Check your ACE: add_ace group.admin ghiaccio_weaponeditor.admin allow (and .hot, .edit, .use).
  • ESX / QBCore group mapping is in Config.Permissions.groups.
  • Jobs can only grant the edit level.

#The mouse is stuck after closing

Run /weaponeditor_close.

#"Apply and reload" button is missing

That is intentional: Config.HotReload is false because hot reload does not work on build 3258.

#A custom weapon from another resource is missing

Run /gwe_rescan. If the weapon resource uses glob patterns in its manifest and the server cannot list folders (io.popen unavailable), list the files in Config.ExtraMetaFiles:

lua
Config.ExtraMetaFiles = { ['my_weapons'] = { 'metas/weapons.meta' } }

#My Discord webhook is not receiving anything

Set it in config_server.lua (ServerConfig.Webhook) or with set gwe_webhook "...". A webhook in config.lua is deprecated (every client can read it) and triggers a warning at startup.

#Rejected requests

Rejections (permissions, validation, rate limit) are written to data/logs/rejects_YYYY-MM.log. A legitimate admin hitting the limit can raise Config.RateLimit.

#Still stuck?

Collect the /wepeditor_selftest output and open a ticket: see Support.