GravityCube Posted June 24, 2017 Share Posted June 24, 2017 I'm not that good translating so I going to write it on my language 1. I would like to make my own market on the server but I can't find the way to connect computercraft with the server currency. So I suggest a new "Mod" like an API to connect computercraft to the server through web request and tokens. Example:Get token: /api get tokenGet amount of money (According to the token): iptekkit.com/api.php?method="get"&token="randompass"Pay to a player (From player who generated the token to the PlayerExample): iptekkit.com/api.php?name="PlayerExample"&method="pay"&amount=100&token="randompass"2. Disable the teleport to the spawn when someones enters to a town. It can be replaced by just teleporting outside the town. Original version: [spoiler]1. Estaba pensando en hacer una tienda en el servidor pero no encuentro la forma de conectar computercraft a la moneda del servidor. Quisiera que agregaran una API web para poder usar computercraft junto con la economía del server algo simple con tokens que se obtengan con un comando. Ejemplo: Obtener token: /api get token Obtener dinero del jugador: iptekkit.com/api.php?method="get"&token="randompass" Pagar a jugador: iptekkit.com/api.php?name="PlayerExample"&method="pay"&amount=100&token="randompass" 2. Desactivar la teletransportación al spawn cuando entras a una "town". Es demasiado molesto.[/spoiler] Link to comment Share on other sites More sharing options...
dumblore Posted June 24, 2017 Share Posted June 24, 2017 Number 2 is a good suggestion, lots of trolls claim a long line of chunks then set the perms so outsiders get teleport out. Number 1 needs a little more refining and added security for it to work. Genesis Corporation is building its own banking system and since you're one of its clan members, why not join the development? Link to comment Share on other sites More sharing options...
Rigg Posted June 24, 2017 Share Posted June 24, 2017 YES, this is an ispiring idea. I can see not only markets, but also other player created events if there was acces to ingame currency via computercraft http. a very robust trasaction log posting would even do. I think the current mod iconomy has trans-log and it can be configured to save it in computercraft teritory? anyway situation right now is to use ingame items as currency and tokens, but these become worthless due to dupping glitches. If anyone cares, there is a need for flexible $. Mine dem bitcoins Steve! Link to comment Share on other sites More sharing options...
spellbyte32 Posted June 24, 2017 Share Posted June 24, 2017 yes we need this! Link to comment Share on other sites More sharing options...
TheFosterColt Posted June 25, 2017 Share Posted June 25, 2017 Wonderful idea. Being able to manage your market from a simple computer program would be a great quality-of-life upgrade. Suggestion 2 would be great too, super annoying when im flying around and get teleported back to spawn. Link to comment Share on other sites More sharing options...
Antonslavick2 Posted June 25, 2017 Share Posted June 25, 2017 Link to comment Share on other sites More sharing options...
javidavie Posted June 25, 2017 Share Posted June 25, 2017 These are great ideas imo Link to comment Share on other sites More sharing options...
GravityCube Posted June 30, 2017 Author Share Posted June 30, 2017 Hello? Link to comment Share on other sites More sharing options...
GravityCube Posted July 3, 2017 Author Share Posted July 3, 2017 Bump Link to comment Share on other sites More sharing options...
Founder brunyman Posted July 3, 2017 Founder Share Posted July 3, 2017 1. how do you want to create a market using computercraft? 2. that seems to be hard coded in the mytown mod, but we have the mod source code so I will look if we can fix that Link to comment Share on other sites More sharing options...
GravityCube Posted July 4, 2017 Author Share Posted July 4, 2017 https://drive.google.com/open?id=0B1N-4eq-GZViMXJ4aGtlcm01Mlk Ignore the audio please I already make a very basic plugin that do what I suggested. Link to comment Share on other sites More sharing options...
Archmaestro Posted July 7, 2017 Share Posted July 7, 2017 Brunyman, gravitycube has made a computercraft script where the users wear terminal glasses and they can interface with his ME network alongside of a PIM to take or place items according to the stock and store credits. instead of using store credits, he wants to interface the store with the server currency. Link to comment Share on other sites More sharing options...
Founder brunyman Posted July 7, 2017 Founder Share Posted July 7, 2017 interesting, how can i get that plugin/script? Link to comment Share on other sites More sharing options...
GravityCube Posted July 8, 2017 Author Share Posted July 8, 2017 Thanks for listening to my suggestion I made the plugin myself but I'm actually a bit rusty. I already tried most things and they work fine but it definitely need a good fix before activating it. Sorry if you dont understand all. I dont speak english very well. Link to comment Share on other sites More sharing options...
Founder brunyman Posted July 10, 2017 Founder Share Posted July 10, 2017 So what is this plugin meant to do? Link to comment Share on other sites More sharing options...
GravityCube Posted July 10, 2017 Author Share Posted July 10, 2017 1. Pay to offline players. 2. Create codes of money with "/api generate (amount)" that can be redeemed with computercraft. 3. Generate token that can be used to pay another player with computercraft even if the player that create the token is offline (The token is disabled by default). I fix a few things: ZIP: https://drive.google.com/open?id=0B1N-4eq-GZViMTFoa3BLS3loR3M JAR: https://drive.google.com/open?id=0B1N-4eq-GZVicEZJTzlZQVZud3M Link to comment Share on other sites More sharing options...
Founder brunyman Posted July 14, 2017 Founder Share Posted July 14, 2017 How is it interacting with computercraft? Link to comment Share on other sites More sharing options...
GravityCube Posted July 15, 2017 Author Share Posted July 15, 2017 A http request to localhost. Link to comment Share on other sites More sharing options...
Founder brunyman Posted July 17, 2017 Founder Share Posted July 17, 2017 ok, i will look into it on next WIPE as we will do some fixing then Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.