Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1294

Closed
Open
Created Sep 03, 2023 by JpegIsMe@JpegIsMeReporter

setvariable `save` option does not save on CASTER or TARGET scope

Summary

setting a variable with the save option doesn't save the variable after a restart if its scope is CASTER or TARGET.

Steps to reproduce

  • setvariable{save=true;var=caster.test;value=120;type=INTEGER;scope=caster} @self ~onSpawn
  • msg{m="<caster.var.test>"} @trigger ~onInteract

/stop one mob is spawned, right click mob once the server is back up. Make sure mob is set to persistent or despawn: false.

Server log file

Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.

Debug log snippet

https://pastebin.com/1GEuyTDG

Edited Jul 08, 2024 by JpegIsMe
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking