HyperConomy Web
______________________________________________________________________________
Features
- HyperConomy Web creates a web page for HyperConomy. The main page lists all available shops on the server. Each shop name can be clicked to open up the shop page which displays which items are available, their prices, stock, and price history if enabled.
- Colors, fonts, and font-sizes can be configured.
- Web page can run on any port.
- No setup required. Just drop it in your plugin folder along with HyperConomy.
- Here's what a default shop page might look like: Default Shop Page
______________________________________________________________________________
Usage
- After HyperConomy Web and HyperConomy are running, your web page can be accessed at [your server IP or domain name]:[the port from your HyperConomy Web config.yml file.] For example, if your server was running at IP 888.777.666.555, by default you would access the web page by putting the following into your browser's address bar: 888.777.666.555:7777
- Click on a shop name to view what is available + stocks and prices. To return to the main page just click back on your browser.
- More features will likely be implemented in the future.
- Separating HyperConomy Web from the main plugin will save bandwidth and time due to the size of the embedded web server. This plugin will likely not need to be updated nearly as much as the main plugin.
______________________________________________________________________________
Commands
/hcweb enable
Description: Enables the web server if it is not already enabled.
Permission: hyperconomy.admin
/hcweb disable
Description: Shuts down the web server.
Permission: hyperconomy.admin
/hcweb setdefault
Description: Sets the web page back to its default settings.
Permission: hyperconomy.admin
/hcweb refresh
Description: Restarts the web server. Can be useful for manually updating settings, etc.
Permission: hyperconomy.admin
/hcweb status
Description: Displays the current web server status. (Running or not running etc.)
Permission: hyperconomy.admin
/hcweb fontsize [size]
Description: Sets the font size.
Permission: hyperconomy.admin
/hcweb font [font]
Description: Sets the HTML font.
Permission: hyperconomy.admin
/hcweb port [port number]
Description: Sets the port number that the web server will run on.
Permission: hyperconomy.admin
/hcweb background [hexadecimal color code]
Description: Sets the background color.
Permission: hyperconomy.admin
/hcweb tabledata [hexadecimal color code]
Description: Sets the table data color.
Permission: hyperconomy.admin
/hcweb fontcolor [hexadecimal color code]
Description: Sets the font color.
Permission: hyperconomy.admin
/hcweb border [hexadecimal color code]
Description: Sets the border color.
Permission: hyperconomy.admin
/hcweb increase [hexadecimal color code]
Description: Sets the price increase background color. (Displays when the price increases.)
Permission: hyperconomy.admin
/hcweb decrease [hexadecimal color code]
Description: Sets the decrease background color. (Displays when a price decreases.)
Permission: hyperconomy.admin
/hcweb header [hexadecimal color code]
Description: Sets the header color.
Permission: hyperconomy.admin
______________________________________________________________________________
Permissions
hyperconomy.admin: Gives access to all /hcweb commands.
______________________________________________________________________________
Requirements
- HyperConomy version .974 or later must be installed. For anything to display on the web page you must also have created a shop in HyperConomy.
- Versions of HyperConomy prior to .974 included the web server inside of the main plugin.
______________________________________________________________________________
Development Builds
- Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
- The latest development builds can be found here.
______________________________________________________________________________
It would be really useful to add sorting
Does this still work?
In reply to waacar:
Is there a way to add two columns, amount sold and amount bought, maybe in a 7 day period? This would be valuable information.
Thanks for the work, however I have been unable to get it to work. Even with default settings the page does not load and then after typing any commands I get spammed with this: http://gyazo.com/5848e2722f4fa2201c15d468186c85a8
You are the most RegalOwl I know, good sir. Thanks again.
@platky
The update should be available shortly.
Any news on the update?
@sLasH2Dhed
I'll have a new build out shortly.
The latest dev version of HyperConomy Web doesn't work with with the most recent Spigot 1.8 server. These are the errors I get:
http://pastebin.com/ZFVBXULw
@madtomic
HyperConomy_Web shouldn't be too particular about which CraftBukkit you use. The latest version should work fine. Let me know if it doesn't.
Do you plan on to release a cb1.7.2-r0.3?
I hope HyperConomy, HyperMerchant and HyperConomy Web all can work together.
Now working well, thanks.
I solved this, Its happened because hyperconomy jar was duplicated.
=== Your title here... ===
@ShadowWolfAlpha
@proqress
Try the latest dev build. A new release should be approved shortly.
04.07 14:07:19 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: regalowl/hyperconomy/DataLoadListener
04.07 14:07:19 [Server] INFO [14:07:19 ERROR]: Could not load 'plugins/HyperConomy_Web.jar' in folder 'plugins'
I get this error
@JacksmackDave
@JacksmackDave I had this problem too, so I shut down my server, went into the \plugins\HyperConomy_Web folder and opened config.yml and changed it for both "port" values. Just copy paste what I have below into your config.yml and it should work fine. Just swap out the ##### with your available port number obviously. Remember, you'll need to open this port on your firewall just like you did for your minecraft server to begin with.
port: #####
background-color: 8FA685
font-color: F2F2F2
border-color: '091926'
increase-value-color: C8D9B0
decrease-value-color: F2B2A8
highlight-row-color: 8FA685
header-color: '091926'
table-data-color: 314A59
font-size: 12
font: verdana
config:
web-page:
use-web-page: true
port: #####
I think there is a problem. I keep changing the port number in the config file and overwriting the config on my server and it keeps setting back to 7777.
@kencraft
You can change virtually all of the colors to make it look somewhat similar to that. I will probably spend some time improving the appearance when I get a chance, but I'm too busy with other projects for now. I'd like to add icons for all of the items, for example. I might even be able to make the CSS customizable in the future. At this point I'm far from a web designer, but it might be an interesting thing to get into in the future.
For now this plugin is intended to provide easy access to lots of information, not act as a shopping cart. I may add such functionality later, though, once HyperConomy has progressed. If you'd like to help out feel free to contribute. All of the source is on my github.
Not to be rude or anything, but the default webpage is a bit boring. Could you try something similar to this?