Coder Social home page Coder Social logo

advancedcore's People

Contributors

a248 avatar bencodez avatar dependabot[bot] avatar gersomonline avatar johnibur avatar jsuarezl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

advancedcore's Issues

Need to be able to broadcast items given and the amounts

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%

Improvements to RequestAPI

  • Use inventories to request values specified
  • Make it easier to use
  • Use chat to pick a value specified (Needs testing)

Java 7

  • You can add support for Java 7

Advanced core errors in console .

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

Wiki Improvement

More wiki pages on api:

  • ValueRequest
  • Plugin Update Checker
  • Hooking into plugin
  • Users (Will wait until new user api)
  • Using Reward Files (Will wait until new api)
  • Metrics
  • GUI Inventories
  • Using Anvil GUI
  • Scoreboards
  • CommandHandler

2.5 Version Plans

  • Particle API
  • Timer API?
  • Enchant API?
  • Item NBT (NMS) in itembuilder api, with glow items
  • Entity NBT?
  • Reward GUI to view rewards for every reward file automaticly for players
  • Book GUI's
  • Sign API?
  • TabList API?
  • Map API?
  • Light API?
  • Language API?
  • Improve Javascript to work with more things
  • Updater API:
    • spiget?
    • download

SSL Issue

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.

Custom Enchant API

Add ability to create custom enchants
Have another plugin with base enchants as example using this api?

Sign API

  • Sign to request value (ValueRequest)
  • Sign handler to handle writing to signs, saving sign locations, etc

1.6 Version Plans

  • Disable default reward msg
  • Money/Exp placeholder
  • Replace all placeholders with any case and with {
    Fully edit reward files ingame:
    • Basic Values
    • Advanced Values (May delay this and slowly add these)
  • #19?
  • Add command to run reward file
  • Injectable user gui:
    • Run reward files
    • Allow other plugins to inject own custom options into it

Reward Files Additions

  • Add an option to force a reward file to have to be claimed?
  • Giving rewards from other plugins directly? (Crates, etc)

Databases

  • Add support for saving to databases for user data

Possible ways of doing this:

1: Save files to database, delete them if successful on restart

  • Save data values to database on shutdown, delete file
  • On user join (first join after restart) get file and data?

Pros:

  • Probably the best one
  • Easier to do

Cons:

  • Still waste storage space, not by much though
  • Not efficient

2: Prestore information in RAM (All the information) for everyone at all times

Pros:

  • ?

Cons:

  • Lots of ram usage
  • More work

This would require some rewrite on how data is handled.
Also requires that I prestore information.

I am lost and confused.

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

Javascript API

Cool new javascript API

Need to allow use of it everywhere

Will create cool wiki page to go along with it

More Powerful Reward System

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!

Priority system

Add ability to create a priority system. Execute first possible reward in a list, then stop. Already possible, but this will make it easier.

Plugin updater

  • Event for when plugin uses a new version on startup then previous version (Use to auto update plugins, etc)

1.5 Version Plans

Estimated Release: Late September/Early October

  • #14
  • #15
  • #18
  • Update lore of rewards in gui's
  • Bug testing/Improvements
  • More things to edit on reward files ingame (May delay this)
  • #19 (May delay this)
  • #17? (May delay this)
  • Open GUI of possible rewards without manually configure it ((May delay this)

1.10 Version Plans

  • AdvancedCore config in other plugins
  • Reward GUI to view rewards for every reward file automaticly for players
  • Custom items for value request api (inventory)
  • Better NBT API
  • General improvements to standard api methods (ActionBar, Titles, Firework,bossbar,etc)
  • Javascript api for anything javascript
  • Mojang API?
  • Animation API? (Text)
  • MySQL API
  • JsonChat API (Which would allow use on craftbukkit)
  • ItemBuilder API?
  • Glow Items?
  • Better particle API?
  • TabList API?
  • Map API?
  • Sign API?

Non Priority:

  • Giving rewards from other plugins directly? (Crates, etc)
  • Add an option to force a reward file to have to be claimed? (Not worth it)
  • New Update checker using spiget? (May not happen)
    • View change log ingame
    • Better multi usuage management without running on a certain thread
    • Download with command and auto-update on restart
  • Fix server stall on 1.7? (May or may not be a problem)

More GUI

This is redesigned idea text from VotingPlugin, but you add features from VotingPlugin here and I write it also here, but redesign it.

  • Add chat GUI using https://www.spigotmc.org/resources/chatapi.16245/ PS: This author use chat gui, view his plugin please. Here in chat GUI you can create more themes, more colours...
  • Add book GUI, how is here https://dev.bukkit.org/bukkit-plugins/slimefun/.
  • Add Anvil GUI for search other players
  • Add online searching players (it can show their names and head with skin) for other search players
  • Add to your plugins, to GUI option to disable titles, make new category settings
  • Add to your plugins, to GUI option to disable boss bar, make new category settings
  • Add to your plugins, to GUI option to disable action bar, make new category settings
  • Add to your plugins, to GUI option to disable particle, make new category settings
  • Add to your plugins, to GUI option to disable scoreboards, make new category settings
  • If you add other GUIS (book and chat) you can do settings, where players can set their default GUI, or you can enable /command ChestGUI /command ChatGUI /command BookGUI
  • Add admin GUI, admins can easily control all in GUI (also can be chest, chat, book, anvil)
  • Add to admin GUI too many commands

Error load plugin

[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

ActionAPI

Add a new way to do things in rewards

Effects

  • Can you add to this plugin and it adds to AdvancedMobControl plugin feature for glowing and other effect?

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 Issues

GUI's run code from another gui sometimes.

2.1

Priority:

  • Allow compiling directly into plugin
  • Fix TitleAPI for 1.11
  • Allow use on craftbukkit

Alternate UUID Lookup improvement

https://github.com/Ben12345rocks/AdvancedCore/blob/833acd1be652af304d26ae4f5dab54c84faa4878/AdvancedCore/src/com/Ben12345rocks/AdvancedCore/Util/Misc/PlayerUtils.java#L129-L136

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:

https://github.com/bergerkiller/CraftSource/blob/e77a0c6f9d5fe3c752d5740ec4facd63b4a29b0f/org.bukkit.craftbukkit/CraftServer.java#L1309

2.3 Version Plans

Priority:

  • SQLLite
  • Flat File
  • Dynamic read/write strings
  • Fix Min/Max Amounts
  • Animation API
  • Attributes and flags on items

1.4 Version Plan

Release Aim: Mid September

  • Make AdvancedCore handle reward files (Requires testing)
    • Edit reward files ingame (Requires testing)
  • Attempt sign gui's
  • Methods to get API
  • Examples of usuage
  • Report command

Improvements/Additions to Reward Files

  • Javascript (Untested)
  • Broadcast
  • Custom permissions
  • Check for player world rewards on world change instead of every 10 minutes
  • Let user choose a reward file to get
  • Fireworks
  • Add more reward file examples by default
  • Rewards from other plugins (May delay this):
    • Slimefun
    • Crates?

1.7

  • #27
  • Anvil GUI for 1.7.10 VotingPlugin/#138 (May or may not work)
  • Reward handler
  • Disable offline give support with option for reward files
  • Timed and Delayed rewards in multiple locations
  • Give reward if player disconnects before receiving reward
  • GUI to switch request method

2.0

Priority:

  • ItemBuilder API
  • ItemBuilder from yml file
  • General improvements to standard api methods (ActionBar, Titles, Firework,bossbar,javascript,etc)
  • Better NBT API
  • Custom items for value request api (inventory)
  • BStats API

Move stuff into different projects?

Move some api into new projects
Some examples:

  • chatcomponentapi
  • actionbar?
  • titles?
  • valuerequest?
  • ....

Possible goal is to have advancedcore contain sub projects, to improve modularity

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.