[Plugin] iConomy 1.0.1 (Geld-Plugin) | (Money Plugin)

    • [Plugin] iConomy 1.0.1 (Geld-Plugin) | (Money Plugin)

      Deutsche Beschreibung / German Statement

      Spoiler anzeigen

      Hallo alles zusammen,

      ich möchte heute meinen neues Plugin ankündigen, das jetzt zur Verfügung steht: iConomy

      iConomy ist ein Geld-Plugin. Die API dieses Plugins ist freigegeben, um Entwickler anderer Plugins die Möglichkeit zu geben,
      virtuelles Geld ins Spiel zu bringen. Die Datenbank speichert keinen Spielernamen! Nur UID!

      Natürlich kann dieses Plugin auch ohne anderes Plugin verwendet werden!

      :!: Bitte Geldbeträge immer mit einem PUNKT trennen, wenn Cent-Betrag dabei ist! :!:



      ENGLISH STATEMENT / Englische Beschreibung: (GOOGLE)

      Spoiler anzeigen

      Plugin only in German! English. English is coming in the near future

      Hello everybody,

      Today I want to announce my new plugin, which is now available: iConomy

      iConomy is a money plugin. The API of this plugin is released to allow developers of other plugins to
      get virtual money into the game. The database does not save a player name! Only UID!

      Of course, this plugin can be used without any other plugin!

      Please always separate amounts of money with a POINT if there is a cent amount!


      Welche Kommandos / Commands:

      Spoiler anzeigen

      FÜR ALLE / For all:
      • /money - Zeigt das Geld auf der Bank / Cash | Shows the money of the bank and cash
      • /money help - Zeigt die Kommandos | Show the Commands
      • /money send <cash> <Player> <amounth> - Sendet Cash an Player | Send cash to player
      • /money send <bank> <Player> <amounth> - Sendet Geld von der Bank an eine andere | Send money from your bank to an other
      • /money getbankmin - Zeigt den Mindestbetrag auf deiner Bank | Shows the minimum amount on the bank
      FÜR ADMINS:
      • /money get <Player>
        Zeigt das Geld einer anderen Person | Shows the Money of an other player
      • /money set <cash|bank> <Player> <amounth>
        Überschreibt den Betrag in der Datenbank | Change the amounth in the database
      • /money add <cash|bank> <Player> <amounth>
        Gibt jemanden Geld, ohne selbst zu zahlen | Gives someone money without paying
      • /money take <cash|bank> <Player> <amounth>
        Zieht jemanden Geld ab (man erhält aber nichts) | Takes someone's money off (you get nothing)
      • /money setbankmin <Player> <amounth>
        Setzt den Mindestbetrag auf der Bank | Sets the minimum amount on the bank
      • /money setbankmin <true|false>
        Aktiviert Mindestbetrag auf der Bank | Activates minimum amount on the bank
      Für die Schreibfaulen unter uns, kann man auch statt /money auch /$ schreiben!


      Config

      Spoiler anzeigen


      Quellcode: System.config

      1. BankMin=true - Wenn TRUE, dann ist die Mindestgrenze für Banken aktiv
      2. Debug=0 - Schaltet Debug-Modus an (1 = an) (Schreibt noch nicht viel)
      3. Start_Bank=1000 - Der Startbetrag auf der Bank, wenn neuer Spieler kommt
      4. Start_BankMin=-500 - Der Start-Mindestbetrag für die Bank
      5. Start_Cash=1000 - Der Startbetrag für Cash







      Hinweis für Entwickler:
      Spoiler anzeigen

      Dieses Plugin ist darauf angesetzt, auf lange Zeit aktuell zu sein.
      Da dieses Plugin nicht viel Code brauch, ist es nicht schwer, dieses Plugin aktuell zu halten.

      JAVADOC
      (Ist auch in der ZIP-Datei enthalten!)


      EDIT: Multisprache ist jetzt verfügbar!
      EDIT: Multi-language is now available!

      Für Weiter Wünsche, stehe ich gerne zur Verfügung!
      For further requests, I am happy to help!

      Viel Spaß damit!
      Have fun!

      EDIT 11.04.2018

      CHANGELOG 1.0.1:

      Edit Method:

      enoughCash(long UID)
      enoughBank(long UID)

      features: | Funktionen:
      Multisprache | Multi-language - German & English!

      Weitere Plugins, die es benötigt um zu Funktionieren: | More plugins needed to work:

      SprachAPI

      PLUGIN WIRD ZURZEIT ÜBERARBEITET!

      PLUGIN IS REVISED AT THE TIME!

      Weitere Informationen unter (More information): sandboxgamer.de/plugins/iconomy/
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke

      Dieser Beitrag wurde bereits 15 mal editiert, zuletzt von PatrickBronke ()

    • Erster Beitrag ist jetzt auf die Englische Sprache angepasst.
      Bitte verzeiht mir, wenn das Englisch sich ein bisschen dumm anhört.
      Beschwerden an GOOGLE! :D ;)

      First post is now adapted to the English language.
      Please forgive me if the English sounds a bit stupid.
      Complaints to GOOGLE!
      :D ;)
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke
    • Hey thanks.. I might have to try this. There needs to be something in the game to create a need to approach other players and cooperate besides who can dig to the middle of the earth first. I am not a programmer though I tell myself I need to learn. At least your iconomy is upto date. Now just need a script so you can rob other players if they are carrying money in their pockets to satiate the PVP players.


      German Google 8o

      Hey danke .. Ich muss das vielleicht versuchen. Es muss etwas im Spiel sein, um die Notwendigkeit zu schaffen, sich anderen Spielern zu nähern und mit anderen zu kooperieren, die zuerst in die Mitte der Welt graben können. Ich bin kein Programmierer, obwohl ich mir sage, dass ich lernen muss. Zumindest dein Iconomy ist aktuell. Jetzt brauchen Sie nur ein Skript, damit Sie andere Spieler ausrauben können, wenn sie Geld in ihren Taschen haben, um die PVP-Spieler zu sättigen.
    • Hi @angriff,

      You can enter the player name in the commands, but even if the player changes his name, he still gets his Money.
      The entered name is then changed to the UID. In the commands, I have to use player name, because the other player who wants to send money does not know what his UID is called.

      The iConomy database stores only UID. No player name.

      I'm looking for the UID in the world database.
      There is always the current player name with his UID. When a player enters the server and he has changed his name, the name is also changed in the World Database.
      You can also send money to offline players.
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke
    • WalterDasTrevas schrieb:

      Many thanks for your effort! I'll wait for an English version. :)
      Hey this is in english. All the commands are in english ... not sure about the source code notes, I did not look at them.

      commands:<br>
      /ebalance - checkwallet balance.<br>
      /eprice - checkprice of item held.<br>
      /ebuy <amount>- buy item held. <amount> is optional. If no amount is specified, onewill be bought.<br>
      /esell<amount> - sell stack held. <amount> is optional. If no amount isspecified, whole stack will be sold.<br>
      <br>
      <br>
      admincommands:<br>
      /egivecoins<playername> <amount> - give specified player coins. All commandoptions required.<br>
      /economy set<amount> - set price of item held. <amount> is required.<br>
      /economy export -export pricelist table to csv file in plugin folder.<br>
      /economy import -import pricelist.csv from plugin folder.<br>


      This must have been built on the old economy from the other thread as the above english commands for that plugin work with this one.


      MY BAD I GUESS I HAVE BOTH INSTALLED ON MY SERVER>>>

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von angriff ()

    • PatrickBronke schrieb:

      Hi @angriff,

      You can enter the player name in the commands, but even if the player changes his name, he still gets his Money.
      The entered name is then changed to the UID. In the commands, I have to use player name, because the other player who wants to send money does not know what his UID is called.

      The iConomy database stores only UID. No player name.

      I'm looking for the UID in the world database.
      There is always the current player name with his UID. When a player enters the server and he has changed his name, the name is also changed in the World Database.
      You can also send money to offline players.
      Perfect if it uses the UID then bad actors cannot steal the money.. Great Work.. now we need a script for having to pay to pick up out of a special box or set selected area so we can have a true market. If you want to buy and dont have one, you cant right now. You can only duplicate something in your hand. But for a market type economy if we can select an area in that area to pick up you must pay would simulate the market and allow you to get things that you dont have or have not crafted yet. You know sell your corn and buy a sword. :thumbsup:
    • Hey I wanted to add that this Plugin is on my server and it appears to provide english responses or in numbers. So it is completely usable on english only services but possibly not the code or it's notes for developers. The ability to manage money appears to be usable on both language servers. If you just want to move fake money between players it will work.

      It is not tied to things on the server like Economy plug-in is so it is meaningless unless you want to have prizes or money hoarded for items, rights or privileges from the Admins. You could charge for setting up a protection area for example or for a type of sword. I don't know how they would earn money unless Admins gave them money for certain events or actions or other players exchange it with them for the same.

      I can see a sign on the server that says Admin services fees :D

      It is running on my server if you wish to take a look. (Angriff's Lair 107.181.173.66) You should start with $1000 (ICD) iconomy dollars.

      Commands above work in english text and I dont see any special German Characters.
      • /money- Zeigt das Geld auf der Bank / Cash | Shows the money of the bank and cash
      • /money help - Zeigt die Kommandos | Show the Commands
      • /money send <cash> <Player> <amounth> - Sendet Cash an Player | Send cash to player
      • /money send <bank> <Player> <amounth> - Sendet Geld von der Bank an eine andere | Send money from your bank to an other

      • /money getbankmin - Zeigt den Mindestbetrag auf deiner Bank | Shows the minimum amount on the bank
      FÜR ADMINS:
      • /money get <Player>
        Zeigt das Geld einer anderen Person | Shows the Money of an other player
      • /money set <cash|bank> <Player> <amounth>
        Überschreibt den Betrag in der Datenbank | Change the amounth in the database
      • /money add <cash|bank> <Player> <amounth>
        Gibt jemanden Geld, ohne selbst zu zahlen | Gives someone money without paying
      • /money take <cash|bank> <Player> <amounth>
        Zieht jemanden Geld ab (man erhält aber nichts) | Takes someone's money off (you get nothing)

      • /money setbankmin <Player> <amounth>
        Setzt den Mindestbetrag auf der Bank | Sets the minimum amount on the bank

      • /money setbankmin <true|false>
        Aktiviert Mindestbetrag auf der Bank | Activates minimum amount on the bank
    • A new update is available (1.0.1) | Ein neues Update ist verfügbar (1.0.1)

      PLUGIN IS REVISED AT THE TIME!

      CHANGELOG 1.0.1:
      Edit Method:
      enoughCash(long UID)
      enoughBank(long UID)


      features: | Funktionen:
      Multisprache | Multi-language - German & English!
      :!: PLEASE INSTALL THE SprachAPI PLUGIN! | Bitte das Plugin "SprachAPI" installieren! :!:
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von PatrickBronke ()

    • angriff schrieb:

      New version will not work on my server. I reverted back to previous version.
      What is not working? Did you have an Error Message?

      I Need an Error Log.

      You must install die Plugin "SprachAPI" for the Multi-language!

      Quellcode

      1. ...\plugins
      2. |
      3. |
      4. |---iConomy
      5. | |
      6. | |--iConomy.jar
      7. |
      8. |--SprachAPI
      9. |
      10. |--SprachAPI.jar
      11. When you're done, write to the console (^) "rp"
      Alles anzeigen
      If you did everything right, your iConomy-folder looks like this:


      The "locale" folder is automatically created by the "SprachAPI"!
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke

      Dieser Beitrag wurde bereits 11 mal editiert, zuletzt von PatrickBronke ()

    • Well no errors it just did not respond at all to any chat command instructions as in did not tell me my balance. I do not know if the Sprach API is installed probably not if it is not automatic. I would be nice if you just created a zip file that did all that together, name the file folder and all. But I learned that you needed to do that from another thread for a plugin I installed that did not work.

      I will try determine how to install the API that you mentioned and get back with you later today. The API for languages seems complicated but I will fiddle through it when I get back 8|
    • angriff schrieb:

      The API for languages seems complicated
      You do not have to program anything with the SprachAPI. This has already done my program. Only the API must be on the server, otherwise it can not find the source code.
      My iConomy first checks to see if the "SprachAPI.jar" is on the server before executing any commands so that there are no errors.
      ADMIN von: Sandboxgamer ;)
      UNSER SERVER IST ONLINE! :thumbsup:
      Aber zurzeit Passwortgeschützt :(

      Unsere Homepage (im Umbau):
      www.sandboxgamer.de


      Steam: steamcommunity.com/id/patrickbronke
    • Ok well the first version worked so I thought I had everything I needed. I will have to stop my server for a minute to get this checked. Be right back :sleeping:

      This is what the version 1.0 had in my server. You have to click the picture to see the entire thing. There is no locale directory but it works
      Bilder
      • version1 directories.png

        7,04 kB, 983×101, 6 mal angesehen

      Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von angriff ()

    • Ok now I have it installed on the server and it will not let me log into my own server. It says kicked from server authentication procedure. I look at the directory and it is set up ok. I installed Sprach-API in its own directory with a - between like the name. I got errors for nearly 3 to 5 minutes and had to do two restarts of my server.

      It renamed the Sprach-API jar back to it original with the double parenthasis and readded (1). I thought it was just a duplicate file on my computer. Once I restarted after that it is now working. With English Help screen.

      IT IS WORKING IS THE FINAL REPORT. I think the restart was needed as my paid server renames databases so there must have been some resetting while that was being done. When I could not get on for longer than usual instead of unloading the files I decided to just do a restart and that seemed to fix it.


      Bilder
      • okdirectory.png

        14,15 kB, 633×280, 6 mal angesehen