tgxn / Backup

A Backup plugin for the Bukkit Server API.
http://bukkitbackup.com
GNU General Public License v3.0
23 stars 14 forks source link

Since update (1.8.7, 1.8.8-dev): Permission to manually invoke backup is not working #70

Closed Scaenicus closed 12 years ago

Scaenicus commented 12 years ago

When I try to run /backup I get this error: You do not have the rights to run this backup!

Tested with 1.8.7 and 1.8.8-dev

Since the update backup.backup seems to be insufficient to allow manual backups.

PermissionsBukkit info on backup.backup: Default: false Description: Ability to perform backups

Player Scaenicus sets backup.backup to true.

Edit: Scheduled Backup is working fine.

tgxn commented 12 years ago

Yep, I failed on this one. :/

Old: if (player.hasPermission(permission)) { player.sendMessage(strings.getString("norights")); return false; } else { return true; }

Changed to: if (!player.hasPermission(permission)) { player.sendMessage(strings.getString("norights")); return false; } else { return true; }

Will push soon into 1.8.8-dev.

Scaenicus commented 12 years ago

I confirm it's working now (latest 1.8.8-dev). Thank you!

tgxn commented 12 years ago

No worries!