tais993 / prisonutilmod Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Display how much the inventory is worth at the top left
Currently, most commands send nothing back.
After the command rework #16, this should be immediately taken care of as-well.
The current state is fine for testing, but cannot be released.
Display the icon of the item, and include the display name.
This follows the total required / total left or something alike.
Based of the items given, calculate how much the inventory is worth
Rework the commands, so they're all in a single place, which majorly can improve maintenance.
There are 2 ways to receive an item, 1 is by purchasing, the other by crafting the item.
Purchasing an item can only happen a certain number of times, this is also the case for purchasing the item you need to craft.
It also is a factor that crafting takes time, directly buying a part can be a lot faster over crafting it.
This means that a pure craft should contain a multitude of items, which are:
item identification
purchase price
sell price
recipe
To actually identify the most useful way of money, some things should be added
Currently the map gets loaded the first time the method or the !reset-map
command gets ran, this is inaccurate.
Preferably, it automatically reloads when new recipes are given to the client.
Or, when the player leaves/joins a world.
The mine gets reset EVERY 5 minutes, even when no blocks have been mined or no player is around.
So create a timer which starts when the blocks respawn, and resets every 5 minutes.
If possible, store the timer & server state somewhere. So the user can log back in, or possibly even restart and the timer keeps working.
Unsure whenever it's possible to know or the server has restarted in the main time.
Crossed out items will be moved to separate issues
Add a readme which explains how to install, use and modify the mod.
Create a lock so the timer variable cannot be accessed at the same time
Regardless of the tag the player gives, the item is always null
Detecting a mine reset should be done by listening to block changes
Due to the way Forge was build, it isn't possible to listen to block changes made by people.
Listening to the event in the network was mentioned as impossible as-well.
This means there's as of right now no viable way of detecting mine resets.
The alternative is a plugin, which sends all clients / all clients with the mod an custom event, so the clients know the mine is reset.
This requires the server owner to add a plugin though, I'll try to talk about the owner with it. But doubtful in success, when the prison plugin gets replaced by the rework changes are much higher it's possible. As of right now, nothing will be done.
Create BasicItem class
This class should maintain an item's info:
By reserving X
to be minecraft:air
, many recipes will be decent amount shorter.
So this helps with maintainability, and in return there's no true downside.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.