WorldEdit

WorldEdit

43M Downloads

Shut down async tasks on reload

xPaw opened this issue ยท 8 comments

commented

2011-06-04 08:47:57 [SEVERE] Nag author: '<NoAuthorGiven>' of 'WorldEdit' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin

2011-06-04 08:47:57 [SEVERE] Nag author: '<NoAuthorGiven>' of 'WorldGuard' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin

commented

bukkit does that though
this is old, does the error still get thrown? because if it does it's still bukkit being lame

commented

Yes the error still gets thrown.

commented

It doesn't happen every time. (I've noticed that as well)

This code:
getServer().getScheduler().scheduleAsyncRepeatingTask(this,
new SessionTimer(controller, getServer()), 120, 120);

Needs to be canceled in onDisable

commented

I get this error too, on reload.


Plugins: BigBrother, ColorMe, CommandBook, HeroicDeath, Jail, MagicCarpet, MineBackup, MultiInv, MultiVerse, MyHome, MyWarp, NoWeather, Permissions, PortalStick, RocketBoots, ServerSave, SimpleNews, WorldEdit, WorldGuard, Citizens, iChat, LWC
Bukkit Version: Craftbukkit version git-Bukkit-0.0.0-958-g65a55ba-b1038jnks (MC: 1.7.3) (Note: this has happened in previous versions of Bukkit. I just thought to report it now.)
WorldEdit Version: 4.6

plugins/WorldEdit/config.yml

limits:
    max-blocks-changed:
        default: -1
        maximum: -1
    max-radius: -1
    max-super-pickaxe-size: 5
    max-brush-radius: 5
    disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]

use-inventory:
    enable: false
    allow-override: true

logging:
    log-commands: true
    file: worldedit.log

super-pickaxe:
    drop-items: false
    many-drop-items: false

snapshots:
    directory: backups

navigation-wand:
    item: 345
    max-distance: 100

scripting:
    timeout: 3000
    dir: craftscripts

saving:
    dir: schematics

history:
    size: 15

wand-item: 271
shell-save-type: 
no-double-slash: false
no-op-permissions: false
debug: false
commented

Wrong place. Also needs WAY more info.

commented

Basicly, run worldedit or worldguard and make 'reload' in server. it will throw that.

commented

Except that it's not, which is why I need more info.
(hint: version numbers, etc)