Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Minecraftforge | 6,053 | a day ago | 191 | other | Java | |||||
Modifications to the Minecraft base files to assist in compatibility between mods. | ||||||||||
Worldedit | 2,722 | a day ago | 144 | other | Java | |||||
🗺️ Minecraft map editor and mod | ||||||||||
Iris | 2,619 | 18 hours ago | 179 | lgpl-3.0 | Java | |||||
(WIP) A modern shaders mod for Minecraft intended to be compatible with existing OptiFine shader packs | ||||||||||
Create | 1,878 | 2 days ago | 1,289 | mit | Java | |||||
[Forge Mod] Building Tools and Aesthetic Technology | ||||||||||
Dynmap | 1,812 | 2 days ago | 69 | apache-2.0 | Java | |||||
A set of Minecraft mods that provide a real time web-based map system for various Minecraft server implementations. | ||||||||||
Catserver | 1,670 | 6 days ago | 39 | lgpl-3.0 | Java | |||||
高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server) | ||||||||||
Scriptcraft | 1,473 | 3 years ago | 72 | mit | JavaScript | |||||
Write Minecraft Plugins in JavaScript. | ||||||||||
Opencomputers | 1,397 | 2 months ago | 96 | other | Scala | |||||
Home of the OpenComputers mod for Minecraft. | ||||||||||
Fabric Carpet | 1,378 | 2 days ago | 266 | mit | Java | |||||
Fabric Carpet | ||||||||||
Farplanetwo | 1,345 | 3 months ago | 50 | other | Java | |||||
Level-of-Detail renderer in Minecraft. Allows for render distances of millions of blocks. (Cubic Chunks-compatible) (WIP) |
Minecraft forge mod that does exactly as it name indicates. Upload screenshots.
Once you've gotten to mod settings there will be a "Server settings" button
Link: link to the upload script
Post values: add POST data to your request for servers that require some form of authentication.
everything before =
is considered as the key
and everything after as value
you can get the key
like this in PHP for example: $_POST["key"]
and that would return the value
NOTE: {image}
is required as this will send the image data. However you can choose whatever key
you want.
NOTE: dont use spaces between ´=´ they will be added.
image={image} //send post data with image as key and {image} as value
key=2DAC1D297E6E7E348E5CE1884A7FC //send post data with key as key and 2DAC1D297E6E7E348E5CE1884A7FC as value
if you are using some image hosting service make sure to look up what data you need to send. If you use your own upload script you can pretty much do whatever you want.
NOTE: PLEASE for the love of your own sanity, USE VALIDATION or anyone could upload anything to your server NOTE: I will assume you have at least basic knowlege about PHP. This is a VERY basic example. With very little security to keep it fairly simple and straight forward. you can read https://security.stackexchange.com/questions/32852/risks-of-a-php-image-upload-form to find out more about security
Make sure to change the $key
dont use the one given here.
<?php
/**
* Created by PhpStorm.
* User: DarkEyeDragon
* Date: 4-4-2018
* Time: 03:21
*/
$key = "2DAC1D297E6E7E348E5CE1884A7FC"; //this can be anything, just make sure its the same as the one you set in the client
if(isset($_FILES["image"])){ //check if there is a key named image
if($_POST["key"] === $key) {
$target_dir = "images/"; //directory to upload to (MUST EXIST!)
$file_name = str_replace(".", "-", uniqid("img", false)); //get an unique id
$target_file = $target_dir . basename($file_name . ".jpg"); //add the extention
$fp = fopen('log.txt', 'a'); //create a file
fwrite($fp, $_FILES["image"]); //write image data to the file to see if it comes in correctly
if (move_uploaded_file($_FILES["screenshot"]["tmp_name"], $target_file)) {
fwrite($fp, "The file " . basename($_FILES["screenshot"]["name"]) . " has been uploaded.");
header("Location: http://$_SERVER[HTTP_HOST]/$target_file"); //send the url to the image back to the client
} else {
fwrite($fp, "Sorry, there was an error uploading your file.");
http_response_code (500); //send an internal error back
}
}else{
http_response_code (401); //send unauthorized error back
}
}
else
http_response_code (400); //send and invalid request error back