Update 1.0.2
[Geändert|Change] API geändert, da Fehler gefunden worden ist | Change API
[Update] Update Javadoc
[Neu|New] Link: https://javadoc.sandboxgamer.de/Java/ConfigManager
Update 1.0.2
[Geändert|Change] API geändert, da Fehler gefunden worden ist | Change API
[Update] Update Javadoc
[Neu|New] Link: https://javadoc.sandboxgamer.de/Java/ConfigManager
Status Update: Erstes Javadoc
Wie ja alle wissen, wird iConomy neu geschrieben.
Hier ist schon mal das erste Javadoc.
Die jar-Datei wird auch bald verfügbar sein.
Link unten.
Edit: Javadoc wird immer wieder aktualisiert, da noch nicht alles geschrieben ist.
----------
Status update: First Javadoc
As everyone knows, iConomy is being rewritten.
Here is the first Javadoc.
The jar file will also be available soon.
LINK: https://javadoc.sandboxgamer.de/Java/iConomy/
Edit: javadoc is constantly being updated as not everything is written yet.
English:
Hello everyone,
I know that the old iConomy and the old AktiveSign are not stable. So I will rewrite both.
I've been in the process of re-writing it for weeks.
iConomy is almost ready. New API and much more stable than the old one.
I ask for patience. If there is a new version, the download links will also be updated.
GERMAN:
Hallo alle Zusammen,
ich weiß, dass das alte iConomy und das alte AktiveSign nicht stabil läuft. Deswegen werde ich beide neu schreiben.
Ich bin schon seit Wochen dabei, es neu zu scheiben.
iConomy ist fast fertig. Neue API und wesendlich stabieler als das alte.
Ich bitte um Gedult. Wenn es eine neue Version gibt, werden auch die Download-Links aktualisier
Hi, I'm PatrickOtt too.
Unfortunately I can't help you much with my old AktiveSign. ![]()
But I am currently writing a new AktiveSign that I will publish in the next few weeks.
There is also a new API there.
What are you planning to do?
Hallo red51 ,
ich kann leider die Webseite der Javadoc nicht mehr erreichen. (Stand: 20.03.2022 22:00 Uhr)
Kannst du das bitte mal prüfen.
Welcome to nginx! (javadoc.rising-world.net)
Vielen Dank.
Gruß
Patrick Bronke
Schade. Da muss ich mich doch noch gedulden. Dann hoffe ich, dass es dieses Jahr noch was wird.
Zu mindestens kann man dann gleich alle Plugins kompatiebel machen.
Sorry, ja du hast natürlich Recht, ich hatte mich versehentlich im Kopf auf die permission bezogen.
Kein Problem ![]()
Finde es toll das du dich mit deinen Programmen weiter so einbringst. Der Lob geht natürlich auch an alle anderen die Plugins programmieren. Danke
Vielen Dank, für die Blumen... ![]()
Hallo red51 ,
kannst du uns evtl. einen kleinen Überblick verschaffen, wie es mit der API vorran geht? Es wäre echt schön, wenn mit (oder spätestens nach) der Weltengenerierung zumindest ein erster Ansatz da wäre. Es muss ja nicht gleich alles vorhanden sein (war in der Java-Version auch nicht).
Sorry, wenn ich langsamm ungedulig werde, aber ich glaube, nicht nur ich warten jetzt schon sehr Lange drauf (in 2 Monaten 2,5 Jahre). ![]()
Der ConfigManager hat aber nichts mit dem RCON-Tool zu tun. Hier geht es lediglich darum, eine Config-Datei zu einem Plugin hinzuzufügen.
Hallo alle Zusammen,
hier ein neues Plugin für euch. Mit dem ConfigManager kann man ganz leicht eine "Config" erstellen. Es ist auch eine Update-Funktion integriert. Der ConfigManager erkennt, ob die Config aktualisiert werden muss.
Installation ist wie bei jedem normalen Plugin auch.
Ein Beispiel und das Ergebnis findet ihr hier.
Output:
Wenn jemand Hilfe brauch, hab ich mein Ohr immer offen. ![]()
Dieses Plugin wird es auch für die Unity-Version geben!
Hotfix 1.0.1
Update 1.0.2
Hilfe gibt es für die Neue Version auch hier: Rising World Wiki
Es fehlen zwar noch Beiträge, aber es gibt schon sehr nützliche Informationen dort.
Hallo red51 ,
Es wäre gut, wenn es in der Spieler-Tabelle der WordDB auch:
- MaxStermina (Start: 100)
- MaxHunger (Start: 100)
- MaxThirst (Start: 100)
- MaxLive (Start: 100)
So kann man z. B. ein Skill-Plugin schreiben.
Beim Start sind es immer 100 Punkte.
Mit dem Plugin kan man das Max dann nach oben stellen. Dann sind z. B. 110 Punkte = 100 %.
So dauert es länger, bis man z. B. getötet werden kann.
Hi red51 ,
tolles Update. Freue mich bereits auf das Welten Update.
Ich habe auf diese Steinwüste keine Lust mehr und bin mit sicher, das dieses Update auf jeden fall Abwechselung in das Spiel bringen wird.
Noch mal vielen Dank an das ganze Team für das tolle Update.
red51 : Danke für deine Antwort. Wie kann man ein byte[] in eine Datenbank speichern?
yahwho : Thank you, too, for your answer. English is not a problem for me. ![]()
I know that you can save each statement individually in the database, including details.
The only thing I have to worry about is the amount that is then written to the database. So that there is not so much communication with the database, everything is saved in variables when the server is started. All calculations are then made there. When a period of time has passed, or a player leaves the server, or the server shuts down, the database will be updated with the variables.
It's just easier to overwrite a blob than it is to go through a list.
Let's get back to the crowd:
Let's assume there are around 30 people playing on the server. Every time a player wants to deposit or withdraw something from the bank, a statement is created so that one can later see what happened at the bank with one command. It can happen that a player is offline. This player offers something for sale on the server. He connected his shop to the bank. Later, when we are back online, the player wants to know if he has sold something. He can now look up this in the statement. This player doesn't just sell one object, but maybe 30. And of these 30 objects, he made stacks of 10, which are all sold individually. 30 x 10 = 300. This means that 300 bank transactions can take place in this shop.
Unfortunately it's not just one player on the server, but 30. Anyone from then could open a shop.
Now if everyone sells 300 items, that's: 300 x 30 = 9,000 bank transactions.
So that's 9,000 statements.
But now there is the greatest of all:
What if everyone has now paid not with cash but with the bank?
Then I have to double everything again, there is a statement for paying out and a statement for paying in.
That is then 18,000 statements. etc. ![]()
And that, if things go wrong, everything could happen in one day.
That's why I chose Blob. I can tell an ArrayList that it should only display the last 50 statements.
I don't have to compare what is already in the list and what is new with the list in the database.
It is simply overwritten.
Hi red51 ,
wird in der neuen API auch das Unterstütz?
Das speichert eine String-Liste als Blob in eine Datenbank.
Oder gibt es da eine bessere Lösung? ![]()
Hallo red51 ,
ich versuche gerade ein eignes Event zu schreiben, das man auch Abbrechen kann.
Nun weiß ich aber nicht, wo man nun abfragt, das das Event Abgebrochen ist, da du ja mal gesagt hast, dass Event, sobald sie abgearbeitet worden sind, verschwinden.
Ich bin gerade dabei iConomy für Untiy neu zu schreiben.
Mit folgender Methode soll einem Spieler das Cash geändert werden und dabei ein benutzerdefiniertes Event ausgeführt werden:
Das ist das Event:
Frohes neues Jahr