Giter Site home page Giter Site logo

waldo2590 / ryzom-network-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarxos/ryzom-network-client

0.0 1.0 0.0 15 KB

This is Java client for LV-20 Ryzom Network, crafted by the Matis engineers after studies performed on very ancient amber cubes found at the Megacorp SAT01-B satellite crash site near Sandy Workshop of Aeden Aqueous.

License: MIT License

Java 100.00%

ryzom-network-client's Introduction

LV-20 Ryzom Network Client

This is Java client for LV-20 Ryzom Network, crafted by the Matis engineers after studies performed on very ancient amber cubes found at the Megacorp SAT01-B satellite crash site near Sandy Workshop of Aeden Aqueous.

This is Karavan technology, not to be used by Kamis.

Example

import com.github.sarxos.ryzom.network.Lv20Client;
import com.github.sarxos.ryzom.network.Lv20Client.Chat;


public static void main(String[] args) throws InterruptedException {

	// client is closeable, so it can be used in either try/resources section
	// or user can close it manually, depending on the application needs

	try (Lv20Client client = new Lv20Client()) {

		// login to ryzom network, please note that you need to provide toon name
		// here, not the account

		client.login("ToonName", "SecretPassword");

		// send private tell message to the other toon (named ninbox in this example)

		client.tell("Ninbox", "Hi Ninbox, please remember about the meeting.");

		// send message to the given chat

		client.send(Chat.UNIVERSE, "Hello Atys!");

		// sleep a little bit before closing client just to make sure that 
		// message has been sent and the web socket can be closed without 
		// any waiting messages in the buffer

		Thread.sleep(1000);
	}
}

Requirements

  • Java 8+
  • Ryzom account with at least one toon
  • Need to be Karavan Follower, this software is not for Kamis

License

The MIT License (MIT)

Copyright (c) 2015 Bartosz Firyn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ryzom-network-client's People

Contributors

sarxos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.