Comments (4)
Bit of extra info, we call this method here:
@Override
public List<Placeholder> getPlaceholders(Optional<Island> optional) {
return optional.isPresent() ? getPlaceholders(optional.get()) : defaultPlaceholders;
}
Which then calls two different methods, one with an Island, and the other for if there is no island present. Which means we have two lists to maintain, and these two lists have differences in them now which is the issue.
So if you have a PAPI plugin (e.g. a scoreboard) a placeholder e.g. island_enhancement_size_level
would work if I have an island, however if I dont have an island, instead of showing N/A
it wont process anything and will stay as %iridiumskyblock_island_enhancement_size_level
from iridiumskyblock.
(Also, make sure there are no duplicated Placeholders in this list, e.g. island_visitors, also extra bonus brownie points for how we can prevent this, again maybe unit tests?)
from iridiumskyblock.
i want to add the command "/is go" to my server, if it type the command it should go to the island, if the island doesn't exist then the island should be created
Can you help me
from iridiumskyblock.
- this is not related to the current issue
- if you need help, join our discord server and head to #skyblock, we can help you there
- if you do not want to use discord, create a NEW issue and follow the issue guidelines
from iridiumskyblock.
Related Issues (20)
- Some placeholders have no output + add rounded placeholders or output rounded values HOT 2
- Plugins loaded on the server but not running HOT 4
- IridiumSkyblock API not initializing HOT 1
- How to edit an island as an admin HOT 4
- Often some daily missions do not give rewards in /is rewards HOT 3
- Deleting island can remove itens from visiting players
- Placeholders are bad optimized HOT 1
- Players can lavacast outside the island boundries and reach the right next island and grief it. HOT 1
- Critical menu bad optimization HOT 4
- Stealing obsidians HOT 3
- Bad optimization when there are a lot of players HOT 2
- High timings problem (low tps) HOT 6
- the iridiumskyblock.fly true permission gives you the /is fly active in executable in all worlds HOT 6
- Rewards infinitely clickable in /is rewards HOT 1
- Placing and interacting without permission HOT 1
- Regen cost applies to first island creation HOT 1
- [1.16] Appache commons library missing HOT 1
- XSeries changed their Enchantment enum's so the old configs will break HOT 1
- Movement Bug/Glitch on Latest Version 4.0.9.1 for Bedrock clients HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iridiumskyblock.