Giter Site home page Giter Site logo

websend's People

Contributors

colbydude avatar etcodehome avatar jackklink avatar mirorauhala avatar nickg365 avatar roxeez avatar uncovery avatar waterflames avatar wouterdek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

websend's Issues

[Issue] $args returning null

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.

[Bug] POST Request null Error

I've started to receive the following error:

https://pastebin.com/JR1gdgwU

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.

JUst a few things

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.