Websend
Websend
EOL notice:
After almost 6 years, this plugin has reached an end-of-life status.
I will no longer be maintaining this plugin. If you are a developer and are interested in the source code of this project, feel free to use it as it is published under an MIT license.
To all the great people in the community: Thank you for the wonderful time!
Documentation can be found on Github wiki. (Edit: 9/2/2017: link fixed)
Source code can be found on Github.
What does this plugin do?
This plugin enables PHP developers to access minecraft commands from a web-based script.
A scheme: Ingame command -> Your php-enabled server -> Your PHP file does stuff and provides output/commands -> Plugin executes commands and prints output. Or: Webpage command -> bukkit server -> Plugin executes commands and prints output.
A few of the possibilities:
Online adminstration screen Online console Membership system (become VIP with a donation) Paypal donation system ...
Features:
Seperate thread (no server lag because of the wait.) Commands (ingame or console emulation) Command to color output send from php. Secure connection (protected with password hash) Permissions support (just "websend") Both ways enabled (PHP -> bukkit | bukkit -> php (-> bukkit))
Head over to the files for the latest version, and here for installation instructions.
Documentation and more.
-
View User Profile
-
Send Message
Posted Feb 19, 2012@Waterflames
The PLayer Enchantments array is wrong. It should be an array with nested arrays such as:
ench= array( slot1 = array(ench1, ench2), slot2 = array(ench3, ench4), )
-
View User Profile
-
Send Message
Posted Feb 19, 2012@uncovery
Thanks for the donation! Version will be up soon.
-
View User Profile
-
Send Message
Posted Feb 17, 2012@Waterflames
Great! Thanks a lot! Cannot wait for the new version!
-
View User Profile
-
Send Message
Posted Feb 17, 2012@uncovery Noted. EDIT: fixed.
@HeavenMc The pages should be your source of info ;) Also, I can't really help you without knowing the error that popped up in the console of your server. What you're asking is definitely possible with websend.
@uncovery Noted.
@uncovery Noted. EDIT: fixed, added playerCurrentItemIndex
Updated POST data on bukkit pages.
-
View User Profile
-
Send Message
Posted Feb 17, 2012There is a bug with the code: the $_POST['playerInventoryEnchantments'] does list only one enchantment per slot. If an item has multiple enchantments, only the first is listed.
-
View User Profile
-
Send Message
Posted Feb 17, 2012I have found the code for the command here
http://dev.bukkit.org/server-mods/websend/forum/help/31490-help-with-php-bukkit/#posts
But i get Internal Server Error
-
View User Profile
-
Send Message
Posted Feb 17, 2012@HeavenMc
yes it is with websend. just make a webform and execute the code on submission as described in the examples for this plugin
-
View User Profile
-
Send Message
Posted Feb 17, 2012Hello,
I’m Looking for a plugin, that should do this:
A new player connects to my server and read the rules on my homepage.
Under the Rules should be an box, where they have to put in their ingame nick and press the button “Promote”... Then the console should run the command
“/pex user >NameTheyHaveTypedIn< group set Newbie”
Do you understand? Is it possible? :)
-
View User Profile
-
Send Message
Posted Feb 17, 2012another great option would be if the /ws command was configurable. There would be a config option that would list all the commands you want to use and they are also passed as $_POST variables. Such as
commands= ws, test, whatever
-
View User Profile
-
Send Message
Posted Feb 17, 2012@jacklink01
I was wondering what was causing that x3
-
View User Profile
-
Send Message
Posted Feb 16, 2012@Waterflames
ah sorry, misunderstood.
Can you do one change? the playerCurrentItemID should not be the actual idem ID but rather the inventory slot the user is using right now. Otherwise it is hard to know which enchanted sword or wool color the user is holding right now
thanks! great work! this is SO useful!
-
View User Profile
-
Send Message
Posted Feb 16, 2012@uncovery
The inventory is still in there, but the syntax changed. Check the download page of websend 1.4.1 for more info
-
View User Profile
-
Send Message
Posted Feb 16, 2012The current version does not have the player inventory anymore...
-
View User Profile
-
Send Message
Posted Feb 16, 2012@jacklink01
Whoops, late night debugging code :P
-
View User Profile
-
Send Message
Posted Feb 15, 2012hahahaha.. when I have the playerQuit event enabled, the console says "TROLOLOLOLOLOL" everytime someone quits XD. you might wanna remove that later. :P
-
View User Profile
-
Send Message
Posted Feb 15, 2012Oh. I had always wondered about that. I didn’t know their was an approval process for plugins. That's good though.
-
View User Profile
-
Send Message
Posted Feb 15, 2012Dropbox link: http://db.tt/uHy1UnC5
I hope that's the right one...
-
View User Profile
-
Send Message
Posted Feb 15, 2012@jacklink01
Apparantly, they are still "awaiting approval".
-
View User Profile
-
Send Message
Posted Feb 15, 2012I dont see 1.4.1 or WSEvents .02 on here. What happened?
-
View User Profile
-
Send Message
Posted Feb 15, 2012@leonhunter
Hmmm strange, I'll look into it. EDIT: fixed, redownload.