uncovery / websend Goto Github PK
View Code? Open in Web Editor NEWThis project forked from wouterdek/websend
The official Websend repo.
This project forked from wouterdek/websend
The official Websend repo.
I want to use this plugin on my aternos server but i cant because github isnt a supported website :(.
The $args param is always returning as null.
I get the [Websend] The server responded to the request with a 2xx code. Assuming request OK. (OK)
message on my Minecraft server console, but the Empty argument! Don't just call ws/websend, add more arguments.
string on the minecraft.php URL, and a Failed to connect
error when trying to go PHP -> Spigot using the ExternalTimeSet.php test script.
Spigot seems to be reading the php page because any additional input I put on the page is included on the Minecraft console log, but my website is, seemingly, not receiving or sending data.
Any ideas?
EDIT: I'm using an additional port on my Minecraft server which is definitely open, and the php script is using the open port. Minecraft version: Paper 1.16.2. Websend version: 5.0.
I've started to receive the following error:
I've not changed anything since the issues I had before ( issue #2 ), and use of the minecraft /version command confirmed that I'm using version 5.2.
I've tried uninstalling and re-installing (making sure to update the config as appropriate) and I'm still getting the same issue.
EDIT:
The plugin works as expected if the command is sent from the console, or using another plugin (CustomCommands) to execute the command (though it's worth noting that CustomCommands executes from the console). In-game, however, I get the "An internal error occurred while attempting to perform this command" error, and the error in the console as posted in the PasteBin.
Used to have a plugin phpsend where you could send args like key value.....like /website arg1=something arg2=name
etc point being you'd be able to easily get the key and value from a $_POST['arg1'] etc... just a lot of php code to rewrite to switch plugin to one where there is no support for key=value from bukkit > web.... and seems like a lot of filler is sent aswel.. ie almost 4kb a message mainly because the jsonData includes every plugin and info about the server.. I mean I like that extra info could be sent as an option or via a different websend command.. but for sends that are just quick posts like /website arg1=something ....it seems excessive
also would be nice if /websend had some other commands like /websend reload...so config file could be reloaded quickly like to change URL for quicker testing... small things...
Appreciate you keeping the plugin going.. seems to a mission to find such useful plugins these days for servers.
Also Websends events... is not much documentation or guide on that or even compiling scripts for it? all seems to be a mystery as to how that works .
Is it possible to send json encoded via skript through websend? maybe that could be something I can do? If that is how you're doing it could you put a few skript/php examples of that?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.