Skip to content

Commit

Permalink
Merge pull request #31 from OneLiteFeatherNET/activate-update-notific…
Browse files Browse the repository at this point in the history
…ation

Activate update notification
  • Loading branch information
TheMeinerLP authored Oct 15, 2024
2 parents f284b6d + 1ce2c16 commit 42bcffa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ paper {
register("bettergopaint.command.admin.reload") {
default = BukkitPluginDescription.Permission.Default.OP
}
register("bettergopaint.notify.admin.update") {
default = BukkitPluginDescription.Permission.Default.OP
}
register("bettergopaint.notify.disable.donation") {
default = BukkitPluginDescription.Permission.Default.FALSE
}
register("bettergopaint.use") {
default = BukkitPluginDescription.Permission.Default.OP
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public void onEnable() {

registerListeners();
registerCommands();
updateService();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class Constants {

public static final String USE_PERMISSION = "bettergopaint.use";
public static final String ADMIN_PERMISSION = "bettergopaint.admin";
public static final String PERMISSION_NOTIFY_UPDATE = "antiredstoneclockremastered.notify.admin.update";
public static final String PERMISSION_NOTIFY_UPDATE = "bettergopaint.notify.admin.update";
public static final String DISABLE_DONATION_NOTIFY = "bettergopaint.notify.disable.donation";
public static final String RELOAD_PERMISSION = "bettergopaint.command.admin.reload";
public static final String WORLD_BYPASS_PERMISSION = "bettergopaint.world.bypass";
Expand Down

0 comments on commit 42bcffa

Please sign in to comment.