Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.0 #53

Open
wants to merge 66 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
90d79ff
Updated .gitignore
Poslovitch May 23, 2020
0f6aa9b
Renamed to Upgrades
Poslovitch May 23, 2020
a829613
Added ci, distr, scm tags in pom.xml
Poslovitch May 23, 2020
d83a5cd
Add Snapshot "build" numbers
Poslovitch May 23, 2020
f1d8b02
Some more stuff in pom.xml
Poslovitch May 23, 2020
e5bd3ab
Update generalized config object
Guillaume-Lebegue May 23, 2020
24bd3de
Update from useless long to int
Guillaume-Lebegue May 23, 2020
23be78b
Fix Broken lang
Guillaume-Lebegue May 23, 2020
343016e
Add limits addon
Guillaume-Lebegue May 24, 2020
ebf69f8
Add limits upgrade settings + manager
Guillaume-Lebegue May 24, 2020
246db4c
Add Working Block Limits upgrade
Guillaume-Lebegue May 24, 2020
4f01775
Add working Entity limits upgrade
Guillaume-Lebegue May 26, 2020
517afc5
Merge branch 'limits_upgrade' into develop
Guillaume-Lebegue May 26, 2020
a598394
Fix for #2
Guillaume-Lebegue May 27, 2020
51e23c6
More condition for #2
Guillaume-Lebegue May 27, 2020
233fd60
fix #1
Guillaume-Lebegue May 27, 2020
66e09b2
Adding listener to remove deleted island from database
Guillaume-Lebegue May 27, 2020
82977d9
Changing function used to get Island #2
Guillaume-Lebegue May 28, 2020
ab34665
Now Caching upgradeValue by user UUID fix #3
Guillaume-Lebegue May 28, 2020
44a4704
Merge branch 'multiplayer_fix' into develop
Guillaume-Lebegue May 28, 2020
7bc2721
Adding necessity to be on island to run the upgrade command fix #2
Guillaume-Lebegue Jun 2, 2020
a715c77
Updating Get world by command
Guillaume-Lebegue Jun 2, 2020
2b37f05
Adding listener to JoinPermCheck
Guillaume-Lebegue Jun 3, 2020
c1876b4
Adding tier / Level / MaxLevel to description of upgrade resolve #5
Guillaume-Lebegue Jun 8, 2020
74aa2d9
Adding check for registering listener
Guillaume-Lebegue Jun 8, 2020
7d481a6
Fix #9 Removing ownDescription when no more upgrade
Guillaume-Lebegue Jun 29, 2020
204b0d4
New version
Guillaume-Lebegue Jun 29, 2020
3b62f28
Fix #6 Adding permission level to config and hide upgrade
Guillaume-Lebegue Jun 29, 2020
c697766
Updating permission: now taking full lower case
Guillaume-Lebegue Jun 30, 2020
855eb88
Fix #11 Setting default island level to 0 when level is -
Guillaume-Lebegue Jul 6, 2020
e02bd0d
#7 Adding new type of upgrade: command upgrade
Guillaume-Lebegue Jul 6, 2020
481c0c7
Adding permission for new Command upgrade
Guillaume-Lebegue Jul 6, 2020
f4aba70
Update README.md
Guillaume-Lebegue Jul 8, 2020
24a134e
Spelling problem in config file
Guillaume-Lebegue Jul 8, 2020
d1a3862
hiding Range Upgrade when not in config #13
Guillaume-Lebegue Jul 13, 2020
186f0fa
Repare hidding range upgrade
Guillaume-Lebegue Jul 13, 2020
ce4ebf6
Stop error when vault not provided
Guillaume-Lebegue Jul 17, 2020
69b1fad
Update en-US.yml (#17)
tastybento Jul 24, 2020
720fab0
Japanese translation (#18)
gitlocalize-app[bot] Jul 24, 2020
96f0dc5
Translate fr.yml via GitLocalize (#19)
gitlocalize-app[bot] Jul 24, 2020
e9fb64f
Adding Owner placeholder to commands upgrades
Guillaume-Lebegue Sep 25, 2020
40e276a
Adding protection flags to limits who can update
Guillaume-Lebegue Sep 25, 2020
1b30bb0
Adding en-US local for flag name / description
Guillaume-Lebegue Sep 25, 2020
6be38bd
Added the tier name, current and max level message (#30)
king-glitch Nov 12, 2020
23b3fa6
added support for entity groups of the limits addon (#27)
weaondara Nov 12, 2020
26af9e1
adding BentoBox api version
Guillaume-Lebegue Nov 12, 2020
dd014dd
fix key to use for max command level Fix #25
Guillaume-Lebegue Nov 12, 2020
4103ec5
adding check before locals Fix #31
Guillaume-Lebegue Nov 12, 2020
1a647a7
update name used for maxCommandLevel #25
Guillaume-Lebegue Nov 13, 2020
2dfc9a8
[UP] listener from joinPermsCheck event to PermsCheck event
Guillaume-Lebegue Nov 15, 2020
718828d
Update add back limits perms listener for limits reset #32
Guillaume-Lebegue Nov 18, 2020
596ebfb
Add SonarCloud Github workflow building
tastybento Dec 12, 2020
6c62e9e
JavaDoc fixing - removed colons
tastybento Dec 12, 2020
52e83eb
Removed unnecessary shade plugin
tastybento Dec 12, 2020
14a45e0
Added hashCode method to compliment equals overriding
tastybento Dec 13, 2020
1a38e1e
Cast to long when adding two ints
tastybento Dec 13, 2020
8f5d1c8
Fix #35 bad exemple
Guillaume-Lebegue Feb 23, 2021
5e34243
Check IslandBlockCount before use #39
Guillaume-Lebegue Mar 15, 2021
08fd5d5
Create zh-CN.yml (#44)
katorly Jan 2, 2022
87d8f06
Version 0.3.0
tastybento Jan 2, 2022
f479e8e
Try to work better with Limits.
tastybento Jan 2, 2022
3fde352
Merge branch 'develop' of https://github.com/BentoBoxWorld/Upgrades.g…
tastybento Jan 2, 2022
04b9fe9
Updated to resolve Limits issues
tastybento Jan 3, 2022
6f31a4c
Update Polish translation (#48)
gitlocalize-app[bot] Aug 27, 2022
838507c
Update github action build script and POM (#54)
tastybento Jan 14, 2024
89eb3f4
Fix some out of date elements (#58)
tastybento Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: SonarCloud
on:
push:
branches:
- develop
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu' # Alternative distribution options are available.
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BentoBoxWorld_Upgrades
100 changes: 78 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,87 @@
# Compiled class file
*.class
# Git
*.orig
!.gitignore
/.settings/

# Windows
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.lnk

# Log file
*.log
# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# BlueJ files
*.ctxt
# MacOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Mobile Tools for Java (J2ME)
# Java
*.class
*.log
*.ctxt
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/target/
/.settings/
/.classpath
/.project
/dependency-reduced-pom.xml
/.DS_Store
/MagicCobblestoneGenerator.iml
/bin

# Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties

# Intellij
*.iml
*.java___jb_tmp___
.idea/*
*.ipr
*.iws
/out/
.idea_modules/

# Eclipse
*.pydevproject
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.project
.externalToolBuilders/
*.launch
.cproject
.classpath
.buildpath
.target

# NetBeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
.nb-gradle/
50 changes: 42 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,57 @@
# Island Upgrades Addon
Upgrades Addon
==========
[![Discord](https://img.shields.io/discord/272499714048524288.svg?logo=discord)](https://discord.bentobox.world)
[![Build Status](https://ci.codemc.io/buildStatus/icon?job=BentoBoxWorld/Upgrades)](https://ci.codemc.io/job/BentoBoxWorld/job/Upgrades/)

Add-on for BentoBox to provide a Upgrades to upgrade an island of any BentoBox GameMode.
## About
Add-on for BentoBox to provide Upgrades to an island of any BentoBox GameMode.

By default, this addon includes upgrades for island size, limits and commands

## Soft Dependence

Upgrades addon can hook onto Vault as well as limits addon and level addon :
* Without Vault, Money cost will be ignored.
* Without Level addonn, Island level will be ignored
* Without Limits addon, Limits upgrades will not be displayed

## Where to find

Currently Island Upgrades Addon is in **Early Alpha stage**, so it may or may not contain bugs... a lot of bugs. Also it means, that some features are not working or implemented.
Currently Upgrades Addon is in **Alpha stage**, so it may or may not contain bugs.

You can download the last snapshot [here](https://ci.codemc.io/job/BentoBoxWorld/job/Upgrades/)

If you like this addon but something is missing or is not working as you want, you can always submit an [Issue request](https://github.com/Guillaume-Lebegue/IslandUpgrades/issues)
If you like this addon, but something is missing or is not working as you want, you can always submit an [Issue request](https://github.com/BentoBoxWorld/Upgrades/issues)

## How to use

For now, you must download the repo and compile the .jar yourself
Then add it to BentoBox Addons
1. Download last snapshot [here](https://ci.codemc.io/job/BentoBoxWorld/job/Upgrades/).
2. Then add it to BentoBox Addons.
3. Restart the server.
4. Edit the Config.yml how you want.
5. Restart the server.

## Config.yml

The config.yml has the following sections:

* **Disabled GameModes** - specify Game Modes where islandUpgrades will not work.
* **Range Upgrade Tiers** - ability to specify default Range upgrade tiers
* **GameMode Range Upgrade Tiers** - ability to specify Range upgrade tiers for specific game mode.
* **Range Upgrade Tiers** - specify default Range upgrade tiers. Upgrading this will augment island protection size
* **Block Limits Upgrade Tier** - specify default Block Limits tiers. Upgrading this will augment the block limits of the limits addon
* **Entity Limits Upgrade Tier** - specify default Entity Limits tiers. Upgrading this will augment the entity limits of the limits addon
* **Entity Group Limits Upgrade Tier** - specify default Entity Group Limits tiers. Upgrading this will augment the entity group limits of the limits addon
* **Command Upgrade Tier** - specify default Command Tiers. You can link command to this upgrade.
* **GameMode** - ability to specify upgrade tiers for specific game mode.
* **Entity Icon** - This list the icons for Entity Upgrades
* **Entity Group Icon** - This list the icons for Entity Group Upgrades
* **Command Icon** - This list the icons for Command Upgrades

### Other Add-ons

Upgrades is an add-on that uses the BentoBox API. Here are some other ones that you may be interested in:

* [**Addons**](https://github.com/BentoBoxWorld/BentoBox/blob/develop/ADDON.md)

Bugs and Feature requests
=========================
File bug and feature requests here: https://github.com/BentoBoxWorld/Upgrades/issues
Loading
Loading