FULL AND EASY web-integrated minecraft shop experience
THIS PLUGIN IS UPDATED VERSION OF https://dev.bukkit.org/projects/webportal
Description
The idea is pretty straightforward: game leaders (or certain players with special access) create virtual shops in different areas of the game. When players bring items to these shops, the items vanish from the game world and show up in the player's online account instead. There's a simple way for players to check their items on the internet using a special sign in the game or a command, making it easy to add or take items with just a click. After players set up a password, they can visit a special website to see all the items being bought and sold, learn about the game's world, and even trade items themselves.
With the money they earn, players can purchase items, which are then delivered to an in-game mailbox (indicated by a sign). Additionally, they have the option to set their own selling prices for the items they've stored online
HOW TO INSTALL WEBPORTAL
After that just go localhost:25900 or xxx.xxx.xxx.xxx:25900, where xxx.xxx.xxx.xxx is your IP and you will see the login page of webportal ( 25900 or the port you setup on config )
* if you want use SSL ( https ) - enable it on config.yml
Translate
These files can be translated into your language
Host WebPortal Everywere
You can host all html on any webserver with support to html and javascript first go on config.yml inside plugin folder of yout minecraft server and set :
Second setup the website part
Get all files on html folder
Change js/translate.js - http://localhost:25900 to http://IP_OF_YOUR_SERVER : PORT
put all files with the changes on your host ( ex: ttp://yoursite.com/webportal )
you can get all html files on plugin folder !
thats all.. now you have webportal working your website
Requeriments
Support
if you want your plugin to show here ! Let me know
Signs
Mailbox for items
Use for: deposit items and withdraw items that are in your mail
Line 1: [WebAuction]
Line 2: Mailbox
Line 3: Withdraw (not actually needed)
Line 1: [WebAuction]
Line 2: Mailbox
Line 3: Deposit
Virtual Box
Use for: Create Virtual Inventory of Web Portal Items for you put or get items
Line 1: [WebAuction]
Line 2: VBox
wSell
Use for : Sell your auction in game, follow this step:
1 - ) Make the auction on web site first
2 - ) Put the sign
if work right the sign will turn GREEN
Line 1:[wSell]
Line 2:{ID} ( You will found the ID on your items section of WebPortal )
Line 3:{Amount} ( optional ... if you don't put nothing here the amount will be 1... )
ob: the line 3 is the number of items will sell for each time a player click ( max is the amount you put for sell on web auction )
ob: if you r using Essentials... give the essentials.sign.* permission ( IMPORTANT )
Commands
Starting from version 1.07 and in future versions, you will be able to manage your server and send commands directly from the website (this feature can be disabled). With this, you will have greater control, and your players will be able to use predefined commands from the website.
Available commands for now
Admin
Player
Soon
Permissions
For Normal User :
For Admin :
Some users of bpermission report problems, if you r one of then setup "per world permission" will work
Commands
/wa password <yourpasshere> - setup password for website if you use WebPortal AuthSystem
/wa mailbox - open virtual inventory
/wa reload
/wa save
/wa view <player>
/wa set <player> <option(buy,sell,admin)> <yes/no>
/wa help
TODO
Afraid of Lag because of WebPortal
All activities of webportal plugin using the inside webserver is on separate thread and webportal inside webserver do not access bukkit main thread direct, webportal activities depends on your server performance, but you may use External Web Server anyway !