sharemarket
Sharemarket
The plugin requires vault and an economy-plugin!
General
Sharemarket adds a virtual stock-exchange. You can buy/ sell (virtual) shares of ressources. The price of each share is calculated by the rate of blocks being destroyed in a certain period and some other factors like buying or selling shares. It is possible to earn much money if you are skilled. In our latest version (1.1) variable shares are supported. That means you can choose every block as a share you want. Blocks like water or monsterspawner may not be chosen but if you want you can do this.
How to install
To install sharemarket download the latest version, or whatever version you want. Downloadlink at the right →
- Download the sharemarket.jar file
- Check if you have the right bukkit version (Below the link you see which version sharemarket need)
- Drive to your plugins folder at your bukkit server
- Simply drag and drop the jar to your server
- Restart your server
- Now sharemarket works at your server
If you have questions write a private message to Verci2 or eitorf or post a comment at this page
Latest changes
1.2.1
- bug when you click on signs that arent build for sharemarket - fixed
- (date: 09/9/13)
complete Changelog here.
Bug report
Please use the ticket system from Bukkit or write a comment.
User Manual at this page. Deutsche Version.
-
View User Profile
-
Send Message
Posted Sep 2, 2012New version (added german language) will be uploaded today (in 9 hours)
-
View User Profile
-
Send Message
Posted Aug 31, 2012@SPUK1
Sollte auch auf der seite der anleitung erklärt sein, aber ich machs nochmal hier:
Die dividende wird alle 10min gezahlt, vom serverstart an, man bekommt sie nur wenn man online ist und sie wird auch nicht aufaddiert wenn du offline bist, dann wäre viel geld im umlauf..
Die formel zur berechnung des preises ist:
Festgelegter faktor * preis * trend (= abgebaut neu/abgebaut in den letzen 10min)
Sry that i write only in german, but you can read the same at the usermanual page...
-
View User Profile
-
Send Message
Posted Aug 31, 2012@Verci2 Wann wird die Dividene gezahlt? Nur wenn ich online bin alle 10min oder rund um die Uhr und wenn ich das nächstemal on bin, gibt es dann halt ne größere Summen? Sag mal was entscheidet genau wie hoch die Aktiein geahndelt wird? Muss ich dazu die Crops halten? Also Lagern oder wie läuft das? Wenn ich die neu pflanze sinken die dann wieder?
-
View User Profile
-
Send Message
Posted Aug 31, 2012@SPUK1
Ich finds gut wenn du es testet, ist noch immer nicht bugfrei bzw. komplett fertig, da hilft es enorm wenn jmd. unabhängig die fehler testet und reportet.
-
View User Profile
-
Send Message
Posted Aug 31, 2012@Verci2
Ok super danke. Ich melde mich immer wenn Fehler auftreten, hoffe es nervt nicht aber ich denke es ist ja auch in eurem Interesse :o)
-
View User Profile
-
Send Message
Posted Aug 31, 2012@SPUK1
Aus Weizen wurden Crops gemacht, damit der abbau registriert wird, der weizen(crop) block hat eben diese ID. Das hinzufügen wofür man die dividende bekommt habe ich gerade gemacht, wird eitorf dann später uploaden. Deutsche version dauert noch etwas, mache ich vllt. am WE (am besten wenn die bugs nicht mehr auftauchen).
Zu deinem Fehler: Ich denke mal der Fehler kam, nachdem du den server verlassen hast:
Das liegt daran, dass das plugin dir gerne eine dividende zahlen will, du aber nicht mehr online bist. Ich bin mir nicht sicher ob das in v.0.3.3 gefixt ist, sonst sollte es in der neuen version klappen.
Schreib bitte falls nochmal irgendein bug auftritt, weil wir nicht alles testen können.
Wheatshares are fixed (blockidchange to 59 caused of the blockbreakevent), i change the dividend message, so you know what the dividend is payed for. I also fix the bug SPUK1 mentioned in his last comment. The version with the implemented language choose could take a while.
Pls post bugs if you find any because we cant test every function...
-
View User Profile
-
Send Message
Posted Aug 31, 2012Hab das hier bekommen:
2012-08-31 09:04:45 [SEVERE] Exception in thread "Thread-13" 2012-08-31 09:04:45 [SEVERE] java.lang.NullPointerException 2012-08-31 09:04:45 [SEVERE] at me.eitorfVerci_.sharemarket.berechnungen.dividende.ausgabedividende(dividende.java:27) 2012-08-31 09:04:45 [SEVERE] at me.eitorfVerci_.sharemarket.pschedule.schedule.run(schedule.java:34) 2012-08-31 09:04:45 [SEVERE] at java.lang.Thread.run(Unknown Source)
-
View User Profile
-
Send Message
Posted Aug 30, 2012Habt ihr jetzt aus Weizen, Crops gemacht? Wenn die Dividende ausgezahlt wird steht da nur wieviel aber nicht für welche Aktie. Hab grad zwei Dividenen untereinander bekommen, aber da stand halt nur wieviel aber nicht für welche Aktien. Könnt ihr das noch hinterschreiben? Und ne deutsche Version wäre Hammer ;0)
Schlaft gut Jungs und danke für diese Plugin, wird sicher richtig klasse ;)
-
View User Profile
-
Send Message
Posted Aug 30, 2012Prima, probiere ich nachher oder morgen gleich aus :)
Great, I'll try later or tomorrow
-
View User Profile
-
Send Message
Posted Aug 30, 2012@SPUK1
Alle Bugs sollten behoben sein in v0.3.3, lösch nur bitte vorher alle alten datein von sharemarket, bevor du es installierst
all bugs should be fixed at version 0.3.3
-
View User Profile
-
Send Message
Posted Aug 30, 2012@SPUK1
Welche zahlen werden so angezeigt?!Ok ich habe gefunden was du meinst..What numbers are printed like 100000000000 ??i found what u mean..-
View User Profile
-
Send Message
Posted Aug 29, 2012@Verci2
Ok super, danke. Es gibt da auch noch ein paar Darstellungsprobleme, die Zahlen werden teilweise so angezeitg 10000000000000 Dollar außerdem tut sich irgendwie nichts am Markt. Ich habe 500 Weizen Aktien und habe ein riesen Feld was ich heute den ganzen Tag bebaut hab und geerntet hab, aber die Aktien steigt irgendwie nicht
Ok great, thanks. There's also a few display problems, the numbers are sometimes so appear 10000000000000 dollars. also somehow does nothing on the market. I have 500 shares and wheat have a huge field which I've now built up throughout the day and have harvested, but the stock does not rise anyway.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@SPUK1
Ich schaus mir morgen mal an, gehe jetzt schlafen
I´ll try to fix it tomorow
-
View User Profile
-
Send Message
Posted Aug 29, 2012Das hier bekomm ich auch im Log:
Zeile 411: 2012-08-29 22:29:33 [SEVERE] null Zeile 380: 2012-08-29 22:29:03 [SEVERE] null Zeile 350: 2012-08-29 22:29:01 [SEVERE] null Zeile 319: 2012-08-29 22:28:23 [SEVERE] null Zeile 287: 2012-08-29 22:27:56 [SEVERE] Could not pass event PlayerJoinEvent to sharemarket
Zeile 91: 2012-08-29 22:26:39 [SEVERE] Error occurred while enabling sharemarket v0.4 (Is it up to date?)
-
View User Profile
-
Send Message
Posted Aug 29, 2012Hm jetzt passen die Dateien aber es kommt nur noch zu Fehlermeldungen wenn ich kaufen oder smrates mache:
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at me.eitorfVerci_.sharemarket.SpeichernLaden.Laden.laden(Laden.java:86) at me.eitorfVerci_.sharemarket.SpeichernLaden.Laden.allesladen(Laden.java:92) at me.eitorfVerci_.sharemarket.SpeichernLaden.Speichern.spieler_speichern(Speichern.java:91) at me.eitorfVerci_.sharemarket.Commands.kaufen(Commands.java:165) at me.eitorfVerci_.sharemarket.Commands.main(Commands.java:41) at me.eitorfVerci_.sharemarket.sharemarket.onCommand(sharemarket.java:70) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more 2012-08-29 22:29:06 [INFO] SPUK2011 issued server command: /smbuy 295 10 2012-08-29 22:29:33 [INFO] SPUK2011 issued server command: /smbuy 296 10 2012-08-29 22:29:33 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'smbuy' in plugin sharemarket v0.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:880) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at me.eitorfVerci_.sharemarket.SpeichernLaden.Laden.laden(Laden.java:86) at me.eitorfVerci_.sharemarket.SpeichernLaden.Laden.allesladen(Laden.java:92) at me.eitorfVerci_.sharemarket.SpeichernLaden.Speichern.spieler_speichern(Speichern.java:91) at me.eitorfVerci_.sharemarket.Commands.kaufen(Commands.java:165) at me.eitorfVerci_.sharemarket.Commands.main(Commands.java:41) at me.eitorfVerci_.sharemarket.sharemarket.onCommand(sharemarket.java:70) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
-
View User Profile
-
Send Message
Posted Aug 29, 2012@SPUK1
sollte mit version 0.3 nun funktionieren ;)
should work with version 0.3
-
View User Profile
-
Send Message
Posted Aug 29, 2012@fatmarleys The price is calculated with the blockbreaktrend..
If the amount of mined diamonds fall from for example 25 to 0 this will have no effect for the price because the differnece of the amount is too big.
If you have 0 diamonds mined and 10 minutes later you also have 0 diamonds mined the price stays because there is no change.
If you have one period with 0 diamonds mined the price cant fall again because the amount of mined diamonds can only be raised.
the blockbreaktrend of a share is calculated by this formula:
breakedblocks/ breakedblocks after 10min = blockbreaktrend
If the trend is positive the price of a shares rise, else the price fall. I hope u understand, else ask again pls
-
View User Profile
-
Send Message
Posted Aug 29, 2012If there is a lull in the amount of diamonds that are being mined over a period of time, will the prices fall again?
-
View User Profile
-
Send Message
Posted Aug 29, 2012ok bei meinem test (home) server hat der im plugins ordner die datein abgelegt, werde das nachher mal mit eitorf besprechen.
I´ll try to fix that problem later with eitorf..
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Verci2
Ah das wäre klasse mit der deutschen Version. Ja im Ordner /plugin/sharemarket wären die Dateien ja auch richtig aufgehoben aber die liegen bei mir im Rootverzeichnis und nenne sich so, schau mal hier: http://imageshack.us/f/855/bildschirmfoto20120829up.png/
Ah, that would be great with the German version. Yes in the directory /plugin/sharemarket would be the files indeed the right place, but that lie in my root directory and call it so, look here: http://imageshack.us/f/855/bildschirmfoto20120829up.png/