完整且简易的网页集成 Minecraft 商店体验
描述
基本理念是管理员(或拥有相应权限的玩家等)在世界各处设置商店房屋。玩家可以前往这些地点存入物品,当玩家这样做时,物品会从世界中消失并记录到玩家的在线账户中。玩家可以使用告示牌(或命令)通过虚拟库存查看网页上的物品,并只需点击一下即可存入或取出物品。一旦完成此操作并设置了密码,他们就可以登录网站查看所有正在进行的商店活动以及有关服务器的某些信息。
使用货币他们可以购买物品,这些物品将被发送到游戏内的邮箱(一个告示牌),并且他们可以为自己在线存储的物品设置自己的售价。
在此获取最新版本
功能
- 只有你的服务器成员才能创建账户
- 存入待售物品
- 手持物品右键点击存款信箱告示牌
- 使用 vbox 告示牌
- 网页界面多语言支持
- 模板完全基于 bootstrap(html5 和响应式)
- 购买或出售
- 内置 WebServer 端口为 25900 或配置文件中设置的任何其他端口
- 支持 SQLite 和 MySQL
- 可以在首页使用(McMMO、Essentials)
- 多种登录算法(MD5、SHA1、SHA-256)
- 虚拟盒子:你可以像管理库存一样添加/移除物品(最近 20 件物品)
- 带颜色的游戏内消息
- 你也可以在游戏中出售你的网页拍卖物品(wSell 告示牌)
- 自定义物品支持
- 允许自定义元数据物品(在配置中启用)
- 在你的网站主机上托管外部 WebPortal
如何安装 WebPortal
- 运行服务器将在 webportal 文件夹中创建文件
- 将 /html/js/translate.js 中的 localhost 更改为你的 IP 地址
- 使用它!(或者如果你计划使用 mysql,请继续下一步)
- 如果你想使用 mysql - 停止服务器并在 db type 中更改为 Mysql 并插入你的配置
- 重新启动
之后只需访问 localhost:25900 或 xxx.xxx.xxx.xxx:25900,其中 xxx.xxx.xxx.xxx 是你的 IP 地址,你将看到 webportal 的登录页面(25900 或你在配置中设置的端口)
翻译
- html/js/translate.js
- eng.yml
随处托管 WebPortal
从 v0.9 开始,你可以在任何支持 html 和 javascript 的网络服务器上托管所有 html 文件。
首先在 YOUR MINECRAFT SERVER 插件文件夹内的 Config.yml 中:
- 将 EnableExternalSource 设置为 TRUE
- 在配置中允许你的站点 - Allow :
- 重新加载或重启以应用这些设置
其次设置网站部分
- 获取 html 文件夹中的所有文件
- 更改 js/translate.js - 为
- 将你修改后的所有文件放置到你的主机上(例如:)
你可以在插件文件夹中获取所有 html 文件或在此处下载!
就这样.. 现在你的网站已经成功运行了 webportal!:)
要求
告示牌
这些告示牌用于取款、存款、购买和出售。查看其工作原理 - 告示牌
权限
普通用户:
- wa.use.*
- wa.use.withdraw.items(使用信箱取款告示牌)
- wa.use.deposit.items(使用存款告示牌)
- wa.canbuy(可以从拍卖购买)
- wa.cansell(可以卖给拍卖)
- wa.vbox(可以使用虚拟库存告示牌)
- wa.command.vbox(使用命令 /wa mailbox)
管理员:
- wa.*
- wa.create.sign.mailbox.withdraw(创建信箱取款告示牌)
- wa.create.sign.mailbox.deposit(创建信箱存款告示牌)
- wa.create.sign.vbox(创建 vbox 告示牌)
- wa.webadmin(用户在网站上具有管理员权限)
- wa.remove(移除 WA 告示牌)
- wa.reload(重新加载插件)
- wa.save(保存插件配置)
- wa.view
- wa.set
- (以及所有用户权限)
一些 bpermission 用户报告问题,如果你是其中之一,设置“per world permission”将会起作用
命令
/wa password <yourpasshere> - 设置网站密码
/wa mailbox - 打开虚拟库存
/wa reload
/wa save
/wa view <player>
/wa set <player> <option(buy,sell,admin)> <yes/no>
/wa help
担心 WebPortal 导致延迟
WebPortal 插件的所有活动都使用内部 WebServer 在单独的线程中进行,并且 WebPortal 内部 WebServer 不直接访问 Bukkit 主线程。WebPortal 的活动取决于你的服务器性能,但你仍然可以使用外部 Web 服务器!:) .
需要帮助吗?
:D 我做这个是为了乐趣,但 绝不会放弃这个项目。如果你想要支持我的工作!
捐赠将不胜感激 !
FULL AND EASY web-integrated minecraft shop experience
Description
Basic idea is that admins (or players with right permissions etc) set up shop houses around the world. Players can then go there and deposit items, when they do this the items disappear from the world and get logged into the players online account, player can use the sign ( or command ) to see web items with virtual inventory and put or get items with just one click . Once this is done and they have set a password, they can log into the website and see all the shop that are going on and some info about the server.
Using the money they can buy items, and they will be sent to the mailbox in game (a sign) and they can set up their own sell price for the items they have stored online.
Get Last Update Version HERE
Features
- Only members of your server can get an account
- Deposit items to be sold
- by right-clicking a mailbox deposit sign while holding it
- by using vbox sign
- Web Interface Multi-language support
- Template full base on bootstrap ( html5 and responsive )
- Buy or Sell
- Inside WebServer on Port 25900 or Any other you Setup on Config
- SQLite and MySQL support
- You can use on Index ( McMMO , Essentials )
- Many Algorithm for login ( MD5 , SHA1 , SHA-256 )
- Virtual Box you can Add/Remove item like inventory ( last 20 items )
- Ingame Message with Color
- You can sell your web auction in game too ( Sign wSell )
- Custom items Support
- Allow Custom Meta Item ( enable at config )
- External Host Webportal on your Website Host
HOW TO INSTALL WEBPORTAL
- Run the server will be create on webportal folder
- Change localhost to your ip address on /html/js/translate.js
- Use it ! ( or continue if you plan to use mysql )
- If you want use mysql - Stop the server and change to Mysql on db type and insert your config
- Re-start
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 )
Translate
- html/js/translate.js
- eng.yml
Host WebPortal Everywere
Begin on v0.9 you can host all html on any webserver with support to html and javascript.
First on Config.yml inside plugin folder on YOUR MINECRAFT SERVER!
- EnableExternalSource to TRUE
- Allow your site on config - Allow :
- Reload or Restart to apply this settings
Second setup the website part
- Get all files on html folder
- Change js/translate.js - to
- put all files you get with the change you make on your host ( ex: )
you can get all html files on plugin folder or HERE!
thats all.. now you have webportal working your website ! :)
Requeriments
Signs
This signs is use for Withdraw, Deposit,Buy and Sell see how it work - signs
Permissions
For Normal User :
- wa.use.*
- wa.use.withdraw.items ( use mail box sign )
- wa.use.deposit.items ( use deposit sign )
- wa.canbuy (can buy from auction )
- wa.cansell (can sell to the auction )
- wa.vbox ( can use virtual inventory Sign )
- wa.command.vbox ( use command /wa mailbox )
For Admin :
- wa.*
- wa.create.sign.mailbox.withdraw (create mailbox sign)
- wa.create.sign.mailbox.deposit (create mailbox sign)
- wa.create.sign.vbox ( create vbox sign )
- wa.webadmin (user account is admin on the website)
- wa.remove (remove WA signs)
- wa.reload ( reload plugin )
- wa.save ( save config plugin )
- wa.view
- wa.set
- ( and all user permission )
- wa.update ( see updates )
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
/wa mailbox - open virtual inventory
/wa reload
/wa save
/wa view <player>
/wa set <player> <option(buy,sell,admin)> <yes/no>
/wa help
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 ! :) .
Want Help Me ?
:D work on this for FUN, but NEVER will abandon the project so if you want help my work !
Donate is always appreciated !
评论 0
登录后参与评分
还没有评论,来抢沙发吧