bencodez / advancedcore Goto Github PK
View Code? Open in Web Editor NEWCore API for my plugins on SpigotMC
Home Page: https://www.spigotmc.org/resources/advancedcore.28295/
Core API for my plugins on SpigotMC
Home Page: https://www.spigotmc.org/resources/advancedcore.28295/
I have forked the repository and will submit a pull request for this. There will be a new variable called %ItemsAndAmounts% that can be used in the config that will show not only the item but also the amounts in a comma separated string. An Example of use would be.....
Messages:
Broadcast: '&cThanks for Voting %player%! You received $%money% and %ItemsAndAmounts%
Add ability to have chance for items
Advanced core is not loading , it isn't making a folder for some reason and I get this in console :
17.01 18:20:08 [Server] ERROR Could not load 'plugins/AdvancedCore.jar' in folder 'plugins' 17.01 18:20:08 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml 17.01 18:20:08 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:152) ~[spigot1112.jar:git-Spigot-7d78b81-f709362] 17.01 18:20:08 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot1112.jar:git-Spigot-7d78b81-f709362] 17.01 18:20:08 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot1112.jar:git-Spigot-7d78b81-f709362] 17.01 18:20:08 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot1112.jar:git-Spigot-7d78b81-f709362] 17.01 18:20:08 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot1112.jar:git-Spigot-7d78b81-f709362] 17.01 18:20:08 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65] 17.01 18:20:08 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml 17.01 18:20:08 [Server] INFO ... 6 more
Class for all configuration options?
Sun Jul 30 20:07:27 CEST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Add a Inventory Builder
Add ability to create custom enchants
Have another plugin with base enchants as example using this api?
The plugin stalled my server in the startup. Stall-report: http://hastebin.com/zayaberuwu.pl
It stalled when I updated AdvancedCore and VotingPlugin (to get the Anvil GUI working). Using Thermos build 58, AdvancedCore version 1.7 and VotingPlugin version 4.5.3.
Possible ways of doing this:
1: Save files to database, delete them if successful on restart
Pros:
Cons:
2: Prestore information in RAM (All the information) for everyone at all times
Pros:
Cons:
This would require some rewrite on how data is handled.
Also requires that I prestore information.
Hello,
I am a little confused I have been though all of the Wiki stuff and I just cant get it to work, maybe becuase I am just getting tired or I am being an idiot. Could you possibly help me out?
Ok so I am trying to get the plugin up so you get money, EXP and a Random lucky reward now I have looked though the confing and messed with that but I cant seem to see how you tell the plugin what I want it to do.
here is my 'Rewards file' I have that called vote.yml - https://puu.sh/wSLF8/745162c6d2.txt
and here is my config.yml. - https://puu.sh/wSLG4/58d4ef5dd2.txt
I am just sat here scratching my head at this point.
if you need anything else please let me know and thanks for the help in advance. :D
Cool new javascript API
Need to allow use of it everywhere
Will create cool wiki page to go along with it
Thinking of adding a new way to do simple rewards. But still keeping the old system.
Some examples I'm thinking of:
List way: (More complex, plus a lot of work)
Rewards:`
- Item: DIAMOND 1
- Money: 100
- PlayerCommand: vote total
- ConsoleCommand: say hi
- RewardFile: ExampleBasic
- ExampleBasic # Same as RewardFile: ExampleBasic, to keep old reward systems working
Config way: (Easier to implement and understand)
Rewards:
Items:
Material: DIAMOND
Amount: 1
Money: 100
Single list: (Just like a list with one reward file)
Rewards: 'ExampleBasic'
Leave feedback below!
Add ability to create a priority system. Execute first possible reward in a list, then stop. Already possible, but this will make it easier.
Builder?
Non Priority:
This is redesigned idea text from VotingPlugin, but you add features from VotingPlugin here and I write it also here, but redesign it.
[Server thread/ERROR]: Could not load 'plugins/AdvancedCore.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:152) ~[spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:300) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot-1.11.jar:git-Spigot-f950f8e-0fa1ad2]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more
Add ability to inherit other rewards.
Improving timing on timed/delayed rewards
Add a new way to do things in rewards
Make priority system work with chances
This feature is in VotingPlugin, beacuse we can set as reward effect, you can also make to this plugin this feature to make effects and it also add it to AdvancedMobControl?
GUI's run code from another gui sometimes.
Priority:
As far as I understand you want to find the offline/cracked player UUID. Since the UUID for offline player is based on the case sensitive player name, you could also try to manually create one and see if this UUID is known to the server. See this on how to generate these:
Priority:
Release Aim: Mid September
Priority:
Move some api into new projects
Some examples:
Possible goal is to have advancedcore contain sub projects, to improve modularity
Need a better way to get user instances.
Need a better way to read/write (pre store in ram?)
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.